Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.0009951, allocations: 88.89 kB / 17.35 MB, free: 6 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.001432/0.001432, allocations: 181.1 kB / 18.26 MB, free: 5.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 242.3 MB, free: 88 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2256/0.2256, allocations: 44.25 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007828/0.152, allocations: 7.116 MB / 479.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004849/0.1569, allocations: 2.326 MB / 481.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009592/0.1579, allocations: 27.94 kB / 481.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.159, allocations: 358.4 kB / 482.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.1613, allocations: 0.7829 MB / 482.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.1633, allocations: 0.8239 MB / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.165, allocations: 1.335 MB / 485 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003394/0.1684, allocations: 1.697 MB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000924/0.1694, allocations: 0.5252 MB / 487.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007201/0.1701, allocations: 0.6417 MB / 487.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.1702, allocations: 56 kB / 487.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007765/0.171, allocations: 267.8 kB / 488.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.1712, allocations: 238.9 kB / 488.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007022/0.1719, allocations: 0.6156 MB / 489.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.174, allocations: 1.646 MB / 490.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.174, allocations: 0 / 490.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.174, allocations: 0 / 490.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.174, allocations: 0 / 490.7 MB, free: 10.8 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007313/0.1814, allocations: 2.135 MB / 492.8 MB, free: 8.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1814, allocations: 12.03 kB / 492.8 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009919/0.1914, allocations: 1.396 MB / 494.2 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.1927, allocations: 0.6166 MB / 494.9 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.1928, allocations: 99.02 kB / 495 MB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003857/0.1932, allocations: 140.4 kB / 495.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/0.1964, allocations: 1.491 MB / 496.6 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.1965, allocations: 0 / 496.6 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.1967, allocations: 59.98 kB / 496.6 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.1967, allocations: 32 kB / 496.7 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.1997, allocations: 1.533 MB / 498.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008912/0.2086, allocations: 5.412 MB / 0.4918 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/0.2114, allocations: 2.178 MB / 0.4939 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.2126, allocations: 0.6554 MB / 0.4946 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.2128, allocations: 110.1 kB / 0.4947 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.2128, allocations: 47.56 kB / 0.4947 GB, free: 10.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 5.791e-06/0.2128, allocations: 3.984 kB / 0.4947 GB, free: 10.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.009661/0.2225, allocations: 3.148 MB / 0.4978 GB, free: 7.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.2226, allocations: 94.14 kB / 0.4979 GB, free: 6.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.2233, allocations: 469.8 kB / 0.4983 GB, free: 6.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.2234, allocations: 45.7 kB / 0.4984 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.2237, allocations: 463.5 kB / 0.4988 GB, free: 5.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003843/0.2241, allocations: 421.8 kB / 0.4992 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.2243, allocations: 105.7 kB / 0.4993 GB, free: 5.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2245, allocations: 382.7 kB / 0.4997 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009351/0.2254, allocations: 466.4 kB / 0.5001 GB, free: 4.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.2266, allocations: 0.708 MB / 0.5008 GB, free: 3.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.2286, allocations: 1.209 MB / 0.502 GB, free: 2.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.2287, allocations: 4 kB / 0.502 GB, free: 2.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003271/0.2319, allocations: 1.617 MB / 0.5036 GB, free: 0.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.232, allocations: 8 kB / 0.5036 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.232, allocations: 8 kB / 0.5036 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.2337, allocations: 0.5242 MB / 0.5041 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/0.2345, allocations: 203.7 kB / 0.5043 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2486/0.4831, allocations: 4.7 MB / 0.5089 GB, free: 45.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.4842, allocations: 134.9 kB / 0.509 GB, free: 45.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.4843, allocations: 52.11 kB / 0.5091 GB, free: 45.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005215/0.4849, allocations: 266.8 kB / 0.5093 GB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.485, allocations: 77.56 kB / 0.5094 GB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.4881, allocations: 1.599 MB / 0.511 GB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.4882, allocations: 13.28 kB / 0.511 GB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.4882, allocations: 0.9062 kB / 0.511 GB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.4882, allocations: 8.656 kB / 0.511 GB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005981/0.4942, allocations: 2.883 MB / 0.5138 GB, free: 42.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.4942, allocations: 0 / 0.5138 GB, free: 42.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.495, allocations: 148.4 kB / 0.514 GB, free: 42.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/0.4968, allocations: 0.5196 MB / 0.5145 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.4969, allocations: 32.83 kB / 0.5145 GB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007922/0.5048, allocations: 4.707 MB / 0.5191 GB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5049, allocations: 0.9688 kB / 0.5191 GB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004287/0.5092, allocations: 2.357 MB / 0.5214 GB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004675/0.5097, allocations: 285 kB / 0.5217 GB, free: 38.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.5098, allocations: 21.91 kB / 0.5217 GB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/0.5104, allocations: 58.58 kB / 0.5217 GB, free: 38.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.5107, allocations: 104.1 kB / 0.5218 GB, free: 38.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-05/0.5108, allocations: 38.3 kB / 0.5219 GB, free: 38.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003908/0.5112, allocations: 312.1 kB / 0.5222 GB, free: 37.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5112, allocations: 0 / 0.5222 GB, free: 37.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00136/0.5126, allocations: 414.7 kB / 0.5226 GB, free: 37.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002725/0.5129, allocations: 168.2 kB / 0.5227 GB, free: 37.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003719/0.5166, allocations: 1.854 MB / 0.5245 GB, free: 36.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5166, allocations: 1 kB / 0.5245 GB, free: 36.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.5189, allocations: 1.246 MB / 0.5258 GB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000817/0.5197, allocations: 100.1 kB / 0.5259 GB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.523, allocations: 2.647 MB / 0.5284 GB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.5235, allocations: 1.071 MB / 0.5295 GB, free: 33.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005287/0.5241, allocations: 111.1 kB / 0.5296 GB, free: 33.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.5243, allocations: 58.77 kB / 0.5296 GB, free: 33.78 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5243, allocations: 4 kB / 0.5297 GB, free: 33.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02439/0.5487, allocations: 16.75 MB / 0.546 GB, free: 20.01 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)