Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 112.7 kB / 17.75 MB, free: 5.309 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.001754/0.001754, allocations: 183 kB / 18.68 MB, free: 4.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.341/1.341, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1738/0.1738, allocations: 38.04 MB / 330.6 MB, free: 8.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.89 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.294, allocations: 58.06 MB / 0.5048 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.004832/0.2989, allocations: 4.92 MB / 0.5096 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.3015, allocations: 2.479 MB / 0.512 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.3017, allocations: 13.91 kB / 0.512 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.3028, allocations: 435.7 kB / 0.5124 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008812/0.3037, allocations: 0.5114 MB / 0.5129 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.3042, allocations: 281.9 kB / 0.5132 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006953/0.3049, allocations: 0.7466 MB / 0.5139 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.3054, allocations: 341.5 kB / 0.5142 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.3057, allocations: 320 kB / 0.5145 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.3062, allocations: 325.9 kB / 0.5149 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.3062, allocations: 36.41 kB / 0.5149 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009573/0.3072, allocations: 0.6328 MB / 0.5155 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.3074, allocations: 195.1 kB / 0.5157 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.3076, allocations: 257.5 kB / 0.5159 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.3086, allocations: 0.7634 MB / 0.5167 GB, free: 488 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3086, allocations: 0 / 0.5167 GB, free: 488 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3086, allocations: 0 / 0.5167 GB, free: 488 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3087, allocations: 0 / 0.5167 GB, free: 488 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00117/0.3098, allocations: 0.7827 MB / 0.5174 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.3099, allocations: 12.58 kB / 0.5175 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.3117, allocations: 208.1 kB / 0.5177 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/0.3123, allocations: 369.2 kB / 0.518 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.3123, allocations: 38.98 kB / 0.518 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.3124, allocations: 40.77 kB / 0.5181 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3135, allocations: 0.6296 MB / 0.5187 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3136, allocations: 2.578 kB / 0.5187 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.3136, allocations: 20.8 kB / 0.5187 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/0.3137, allocations: 36.17 kB / 0.5188 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.3147, allocations: 0.6106 MB / 0.5194 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.318, allocations: 2.256 MB / 0.5216 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.3187, allocations: 492.6 kB / 0.522 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.3191, allocations: 235 kB / 0.5222 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.3191, allocations: 9.719 kB / 0.5223 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3192, allocations: 37.83 kB / 0.5223 GB, free: 13.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.054e-06/0.3192, allocations: 0 / 0.5223 GB, free: 13.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.003606/0.3228, allocations: 1.714 MB / 0.524 GB, free: 12.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3229, allocations: 90.09 kB / 0.5241 GB, free: 12.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.3232, allocations: 279.2 kB / 0.5243 GB, free: 11.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3232, allocations: 32.27 kB / 0.5244 GB, free: 11.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.3234, allocations: 235.9 kB / 0.5246 GB, free: 11.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.3235, allocations: 158.5 kB / 0.5247 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.3237, allocations: 86.7 kB / 0.5248 GB, free: 11.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.3238, allocations: 350.7 kB / 0.5251 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.3241, allocations: 179.3 kB / 0.5253 GB, free: 11.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/0.3246, allocations: 292.1 kB / 0.5256 GB, free: 11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.3253, allocations: 0.5079 MB / 0.5261 GB, free: 10.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3253, allocations: 1.031 kB / 0.5261 GB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001318/0.3267, allocations: 0.6727 MB / 0.5267 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3267, allocations: 10.89 kB / 0.5268 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3267, allocations: 4.156 kB / 0.5268 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006028/0.3273, allocations: 183.6 kB / 0.5269 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.3277, allocations: 94.62 kB / 0.527 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004154/0.3319, allocations: 2.788 MB / 0.5298 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.3322, allocations: 17.42 kB / 0.5298 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.3322, allocations: 20.19 kB / 0.5298 GB, free: 8.336 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 (47): * Single equations (assignments): 46 * 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 {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.3325, allocations: 196.8 kB / 0.53 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.3326, allocations: 42.3 kB / 0.53 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.3338, allocations: 0.6329 MB / 0.5306 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3338, allocations: 4.875 kB / 0.5306 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3338, allocations: 4 kB / 0.5306 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.3339, allocations: 112.7 kB / 0.5307 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.334, allocations: 12.23 kB / 0.5308 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3342, allocations: 14.61 kB / 0.5308 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.3343, allocations: 42 kB / 0.5308 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001462/0.3358, allocations: 0.797 MB / 0.5316 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001043/0.3368, allocations: 0.8865 MB / 0.5325 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002663/0.3371, allocations: 195.2 kB / 0.5326 GB, free: 6.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.3373, allocations: 199.1 kB / 0.5328 GB, free: 6.621 MB / 398.1 MB Notification: Performance of Backend: time 5.21e-07/0.3373, allocations: 4.031 kB / 0.5328 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.3394, allocations: 0.8727 MB / 0.5337 GB, free: 6.09 MB / 398.1 MB Notification: Performance of SimCode: time 0.001804/0.3412, allocations: 1.552 MB / 0.5352 GB, free: 4.871 MB / 398.1 MB Notification: Performance of Templates: time 0.01372/0.3549, allocations: 7.941 MB / 0.543 GB, free: 0.7383 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1)