Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 114.6 kB / 17.06 MB, free: 6.004 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.002338/0.002338, allocations: 195 kB / 18 MB, free: 5.082 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.586/1.586, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.24/0.24, allocations: 38.05 MB / 329.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 59.91 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4543, allocations: 58.06 MB / 0.5041 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004581/0.4589, allocations: 3.432 MB / 0.5074 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.461, allocations: 1.442 MB / 0.5088 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.4612, allocations: 9.344 kB / 0.5089 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009699/0.4622, allocations: 256.2 kB / 0.5091 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007485/0.4629, allocations: 279 kB / 0.5094 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.4633, allocations: 113.9 kB / 0.5095 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.4638, allocations: 346.1 kB / 0.5098 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/0.4642, allocations: 135.9 kB / 0.5099 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.4644, allocations: 146.5 kB / 0.5101 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.4647, allocations: 149 kB / 0.5102 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.4647, allocations: 14.22 kB / 0.5102 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.4652, allocations: 307.5 kB / 0.5105 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.4654, allocations: 99.62 kB / 0.5106 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.4655, allocations: 103.7 kB / 0.5107 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.4661, allocations: 358.5 kB / 0.5111 GB, free: 3.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4661, allocations: 0 / 0.5111 GB, free: 3.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4662, allocations: 0 / 0.5111 GB, free: 3.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.4662, allocations: 0 / 0.5111 GB, free: 3.426 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007949/0.467, allocations: 0.5117 MB / 0.5116 GB, free: 2.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.467, allocations: 9.312 kB / 0.5116 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009189/0.468, allocations: 89.86 kB / 0.5117 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.4683, allocations: 270.9 kB / 0.5119 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.4683, allocations: 16.34 kB / 0.5119 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.4684, allocations: 19.23 kB / 0.5119 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.4688, allocations: 317.7 kB / 0.5123 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4689, allocations: 0.9375 kB / 0.5123 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.4689, allocations: 11.22 kB / 0.5123 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.4689, allocations: 14.8 kB / 0.5123 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.4694, allocations: 290.8 kB / 0.5126 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.4711, allocations: 1.295 MB / 0.5138 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.4717, allocations: 212.2 kB / 0.514 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/0.4718, allocations: 53.78 kB / 0.5141 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.4718, allocations: 9.734 kB / 0.5141 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.4718, allocations: 33.44 kB / 0.5141 GB, free: 1.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.4718, allocations: 0 / 0.5141 GB, free: 1.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009068/0.4728, allocations: 439 kB / 0.5145 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4728, allocations: 78.78 kB / 0.5146 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.473, allocations: 200 kB / 0.5148 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.473, allocations: 29.7 kB / 0.5148 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4731, allocations: 166.1 kB / 0.515 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.4732, allocations: 49.73 kB / 0.515 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-05/0.4733, allocations: 46.08 kB / 0.5151 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.4733, allocations: 331.7 kB / 0.5154 GB, free: 184 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.4735, allocations: 53.94 kB / 0.5154 GB, free: 168 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.4736, allocations: 153.7 kB / 0.5156 GB, free: 16 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.474, allocations: 236.7 kB / 0.5158 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.474, allocations: 1.375 kB / 0.5158 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004747/0.4745, allocations: 256.8 kB / 0.5161 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4745, allocations: 7.938 kB / 0.5161 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4745, allocations: 8.141 kB / 0.5161 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.4748, allocations: 37.67 kB / 0.5161 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.4749, allocations: 44.48 kB / 0.5162 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.4762, allocations: 1.444 MB / 0.5176 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.4763, allocations: 9.656 kB / 0.5176 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.4764, allocations: 10.14 kB / 0.5176 GB, free: 14.24 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.4766, allocations: 155.8 kB / 0.5177 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.4766, allocations: 20.64 kB / 0.5178 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.4772, allocations: 188.4 kB / 0.5179 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4772, allocations: 6.141 kB / 0.5179 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4772, allocations: 1.828 kB / 0.5179 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4772, allocations: 1.719 kB / 0.5179 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.4781, allocations: 0.5625 MB / 0.5185 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4781, allocations: 1.094 kB / 0.5185 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4783, allocations: 24.77 kB / 0.5185 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.4784, allocations: 30.8 kB / 0.5185 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4784, allocations: 15.14 kB / 0.5186 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.4795, allocations: 1.424 MB / 0.52 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4795, allocations: 1.125 kB / 0.52 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.4799, allocations: 300.1 kB / 0.5202 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.48, allocations: 96.33 kB / 0.5203 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.48, allocations: 2.859 kB / 0.5203 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4801, allocations: 4.062 kB / 0.5203 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.4802, allocations: 17.38 kB / 0.5204 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4802, allocations: 4.734 kB / 0.5204 GB, free: 11.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.4803, allocations: 145.3 kB / 0.5205 GB, free: 11.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4803, allocations: 4 kB / 0.5205 GB, free: 11.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.4807, allocations: 50.86 kB / 0.5205 GB, free: 11.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001198/0.4808, allocations: 96.84 kB / 0.5206 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005295/0.4814, allocations: 273.9 kB / 0.5209 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4814, allocations: 8.062 kB / 0.5209 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.4816, allocations: 178.5 kB / 0.5211 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.482, allocations: 28.78 kB / 0.5211 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.4828, allocations: 457 kB / 0.5215 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.4831, allocations: 0.7554 MB / 0.5223 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.4833, allocations: 44.94 kB / 0.5223 GB, free: 10.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.4833, allocations: 18.78 kB / 0.5223 GB, free: 10.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4833, allocations: 0 / 0.5223 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Templates: time 0.004803/0.4881, allocations: 1.706 MB / 0.524 GB, free: 10.09 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)