Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="empty",numberOfIntervals=9332,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="empty",numberOfIntervals=9332,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006046/0.006046, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 198 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3741/0.3741, allocations: 39.95 MB / 309.8 MB, free: 9.27 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.89 kB / 435.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4425, allocations: 56.87 MB / 492.6 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005957/0.4485, allocations: 3.431 MB / 496.1 MB, free: 17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.451, allocations: 0.8321 MB / 496.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004715/0.4515, allocations: 9 kB / 496.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.4521, allocations: 77.31 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004489/0.4525, allocations: 126.5 kB / 497.1 MB, free: 16.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007514/0.4533, allocations: 125.5 kB / 497.2 MB, free: 16.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000882/0.4542, allocations: 0.5132 MB / 497.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006168/0.4548, allocations: 253.7 kB / 498 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005369/0.4553, allocations: 216.7 kB / 498.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.456, allocations: 232.9 kB / 498.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.4561, allocations: 49.53 kB / 498.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.4563, allocations: 48.62 kB / 498.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.4565, allocations: 112.1 kB / 498.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.457, allocations: 248.4 kB / 498.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.4585, allocations: 0.5621 MB / 499.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4585, allocations: 1.188 kB / 499.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4586, allocations: 0 / 499.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.4586, allocations: 0 / 499.4 MB, free: 15.1 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002126/0.4607, allocations: 0.7677 MB / 0.4885 GB, free: 14.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.831e-05/0.4608, allocations: 13.45 kB / 0.4885 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.461, allocations: 54.02 kB / 0.4885 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007572/0.4617, allocations: 322.6 kB / 0.4889 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/0.4618, allocations: 40.03 kB / 0.4889 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/0.4619, allocations: 47.77 kB / 0.4889 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.4629, allocations: 463 kB / 0.4894 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.4629, allocations: 0 / 0.4894 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.463, allocations: 20.22 kB / 0.4894 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.463, allocations: 12.09 kB / 0.4894 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008544/0.4639, allocations: 328 kB / 0.4897 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.4671, allocations: 1.671 MB / 0.4914 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/0.4679, allocations: 238.5 kB / 0.4916 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/0.4683, allocations: 147.4 kB / 0.4917 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.4684, allocations: 2.969 kB / 0.4917 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.4685, allocations: 45.81 kB / 0.4918 GB, free: 12.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.4685, allocations: 0 / 0.4918 GB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.003549/0.472, allocations: 1.348 MB / 0.4931 GB, free: 11.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.4721, allocations: 82.02 kB / 0.4932 GB, free: 11.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.4724, allocations: 264.3 kB / 0.4934 GB, free: 11.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4724, allocations: 32.45 kB / 0.4934 GB, free: 11.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.4726, allocations: 263.9 kB / 0.4937 GB, free: 11.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.4728, allocations: 127.5 kB / 0.4938 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4729, allocations: 77.53 kB / 0.4939 GB, free: 10.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.473, allocations: 339.4 kB / 0.4942 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.4734, allocations: 108.6 kB / 0.4943 GB, free: 10.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.4738, allocations: 224.6 kB / 0.4945 GB, free: 10.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.4746, allocations: 342.5 kB / 0.4949 GB, free: 10.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4746, allocations: 1.406 kB / 0.4949 GB, free: 10.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000953/0.4756, allocations: 422 kB / 0.4953 GB, free: 9.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.4756, allocations: 7.281 kB / 0.4953 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.4756, allocations: 4.578 kB / 0.4953 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.4758, allocations: 33 kB / 0.4953 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.4763, allocations: 121.9 kB / 0.4954 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.4775, allocations: 1.437 MB / 0.4968 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.4777, allocations: 19.41 kB / 0.4968 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.4778, allocations: 17.23 kB / 0.4969 GB, free: 8.422 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.478, allocations: 170.2 kB / 0.497 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.4781, allocations: 31.8 kB / 0.4971 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.092e-05/0.4782, allocations: 35.62 kB / 0.4971 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.4782, allocations: 8.234 kB / 0.4971 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.4782, allocations: 2.109 kB / 0.4971 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4783, allocations: 1.359 kB / 0.4971 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.4795, allocations: 0.714 MB / 0.4978 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.4795, allocations: 3.984 kB / 0.4978 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.48, allocations: 93.69 kB / 0.4979 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.85e-05/0.4801, allocations: 26.69 kB / 0.4979 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.4801, allocations: 15.34 kB / 0.4979 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009283/0.481, allocations: 1.418 MB / 0.4993 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4811, allocations: 5.344 kB / 0.4993 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4821, allocations: 0.616 MB / 0.4999 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.4823, allocations: 120.1 kB / 0.5 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.4823, allocations: 11.16 kB / 0.5 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.4826, allocations: 18.86 kB / 0.5001 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.4827, allocations: 26.41 kB / 0.5001 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.4827, allocations: 11.48 kB / 0.5001 GB, free: 5.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.4829, allocations: 192.2 kB / 0.5003 GB, free: 5.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4829, allocations: 0 / 0.5003 GB, free: 5.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005501/0.4835, allocations: 91.72 kB / 0.5004 GB, free: 5.422 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001659/0.4836, allocations: 113.6 kB / 0.5005 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009614/0.4846, allocations: 405.6 kB / 0.5009 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4846, allocations: 5 kB / 0.5009 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.485, allocations: 247.3 kB / 0.5011 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.4855, allocations: 53.31 kB / 0.5012 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.4872, allocations: 0.905 MB / 0.502 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.4875, allocations: 0.8104 MB / 0.5028 GB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000166/0.4877, allocations: 31.81 kB / 0.5029 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.4877, allocations: 33.45 kB / 0.5029 GB, free: 3.449 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4878, allocations: 0 / 0.5029 GB, free: 3.449 MB / 382.1 MB Notification: Performance of Templates: time 0.008128/0.4959, allocations: 3.094 MB / 0.5059 GB, free: 1.926 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1)