Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001081/0.001081, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1857/0.1857, allocations: 38.03 MB / 330.6 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 67.89 kB / 458.8 MB, free: 6.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3095, allocations: 58.05 MB / 0.5048 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.008851/0.3184, allocations: 9.257 MB / 0.5138 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005319/0.3237, allocations: 3.25 MB / 0.517 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007968/0.3245, allocations: 39.84 kB / 0.517 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.3259, allocations: 406.9 kB / 0.5174 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.3279, allocations: 0.8143 MB / 0.5182 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3291, allocations: 476.1 kB / 0.5187 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002586/0.3317, allocations: 1.871 MB / 0.5205 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.3332, allocations: 1.117 MB / 0.5216 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.3345, allocations: 0.7641 MB / 0.5223 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.3356, allocations: 0.8099 MB / 0.5231 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.3359, allocations: 139.2 kB / 0.5232 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007545/0.3366, allocations: 385.1 kB / 0.5236 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005113/0.3372, allocations: 0.4946 MB / 0.5241 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007602/0.3379, allocations: 0.6998 MB / 0.5248 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.3402, allocations: 1.991 MB / 0.5267 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3403, allocations: 0 / 0.5267 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3403, allocations: 0 / 0.5267 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.541e-05/0.3403, allocations: 1.031 kB / 0.5267 GB, free: 10.46 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003402/0.3437, allocations: 1.638 MB / 0.5283 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3438, allocations: 16.67 kB / 0.5283 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007865/0.3446, allocations: 190.6 kB / 0.5285 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.3464, allocations: 0.9446 MB / 0.5294 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.3464, allocations: 84.56 kB / 0.5295 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.3467, allocations: 125.9 kB / 0.5296 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.3491, allocations: 1.347 MB / 0.531 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.3491, allocations: 5.375 kB / 0.531 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.3492, allocations: 41.34 kB / 0.531 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.3493, allocations: 68.28 kB / 0.5311 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.3512, allocations: 1.075 MB / 0.5321 GB, free: 7.328 MB / 398.1 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 8.318498358936397e-4 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007096/0.3583, allocations: 5.094 MB / 0.5371 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.3595, allocations: 0.7679 MB / 0.5378 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.3601, allocations: 346 kB / 0.5382 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.3601, allocations: 11.23 kB / 0.5382 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3602, allocations: 39.09 kB / 0.5382 GB, free: 2.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=64): time 2.736e-06/0.3602, allocations: 4 kB / 0.5382 GB, free: 2.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=71): time 0.005647/0.3658, allocations: 2.674 MB / 0.5408 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.3659, allocations: 136.4 kB / 0.541 GB, free: 0.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009245/0.3669, allocations: 0.7532 MB / 0.5417 GB, free: 112 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/0.3669, allocations: 37.27 kB / 0.5417 GB, free: 72 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.3673, allocations: 0.559 MB / 0.5423 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.3676, allocations: 255.3 kB / 0.5425 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.3678, allocations: 161.8 kB / 0.5427 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.368, allocations: 343 kB / 0.543 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.3685, allocations: 301.3 kB / 0.5433 GB, free: 14.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.3692, allocations: 0.554 MB / 0.5438 GB, free: 14.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.3704, allocations: 0.8964 MB / 0.5447 GB, free: 13.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3704, allocations: 2.75 kB / 0.5447 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002913/0.3733, allocations: 1.343 MB / 0.546 GB, free: 12.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3734, allocations: 8.625 kB / 0.546 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3734, allocations: 12.77 kB / 0.546 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.3748, allocations: 422.2 kB / 0.5464 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/0.3755, allocations: 170.5 kB / 0.5466 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00836/0.3839, allocations: 5.267 MB / 0.5518 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008632/0.3848, allocations: 39.98 kB / 0.5518 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/0.3849, allocations: 39.98 kB / 0.5518 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000961/0.3858, allocations: 0.5604 MB / 0.5524 GB, free: 6.762 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006207/0.3865, allocations: 0.5334 MB / 0.5529 GB, free: 6.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001122/0.3876, allocations: 0.878 MB / 0.5538 GB, free: 5.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.3876, allocations: 7.938 kB / 0.5538 GB, free: 5.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.002564/0.3902, allocations: 1.258 MB / 0.555 GB, free: 3.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3902, allocations: 14.28 kB / 0.555 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.3902, allocations: 8.312 kB / 0.555 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.3915, allocations: 413 kB / 0.5554 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.3922, allocations: 167.8 kB / 0.5556 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007236/0.3995, allocations: 5.05 MB / 0.5605 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/0.4002, allocations: 31.98 kB / 0.5605 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.4003, allocations: 39.98 kB / 0.5606 GB, free: 14 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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 {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.4006, allocations: 239.4 kB / 0.5608 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.4008, allocations: 94.81 kB / 0.5609 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.4023, allocations: 0.8674 MB / 0.5617 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4023, allocations: 3.984 kB / 0.5617 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4023, allocations: 4 kB / 0.5617 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.4026, allocations: 231.9 kB / 0.562 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.4028, allocations: 12 kB / 0.562 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.4033, allocations: 31.98 kB / 0.562 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4034, allocations: 48.52 kB / 0.562 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00195/0.4054, allocations: 1.043 MB / 0.5631 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00186/0.4072, allocations: 1.434 MB / 0.5645 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005088/0.4078, allocations: 345 kB / 0.5648 GB, free: 9.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006562/0.4084, allocations: 0.5107 MB / 0.5653 GB, free: 9.078 MB / 430.1 MB Notification: Performance of Backend: time 3.61e-07/0.4084, allocations: 0 / 0.5653 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003926/0.4124, allocations: 1.788 MB / 0.567 GB, free: 7.254 MB / 430.1 MB Notification: Performance of SimCode: time 0.004012/0.4164, allocations: 2.888 MB / 0.5699 GB, free: 4.312 MB / 430.1 MB Notification: Performance of Templates: time 0.03196/0.4484, allocations: 21.15 MB / 0.5905 GB, free: 15.3 MB / 462.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1)