Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 111.2 kB / 17.68 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.001925/0.001925, allocations: 192 kB / 18.62 MB, free: 4.434 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.438/1.438, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1797/0.1797, allocations: 37.99 MB / 309.8 MB, free: 5.977 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: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 71.91 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.257, allocations: 55.23 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005127/0.2622, allocations: 4.438 MB / 436.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.2644, allocations: 1.461 MB / 437.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.2647, allocations: 19.88 kB / 437.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.2657, allocations: 386.3 kB / 438.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005739/0.2663, allocations: 246.8 kB / 438.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006534/0.267, allocations: 243.4 kB / 438.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006209/0.2676, allocations: 0.5612 MB / 439.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.268, allocations: 281 kB / 439.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.2684, allocations: 247.1 kB / 439.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.2688, allocations: 358.8 kB / 440.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.2689, allocations: 43.98 kB / 440.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.2693, allocations: 223.7 kB / 440.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.2695, allocations: 243.4 kB / 440.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.2697, allocations: 262.7 kB / 441 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.2703, allocations: 0.6581 MB / 441.6 MB, free: 9.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2703, allocations: 0 / 441.6 MB, free: 9.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2703, allocations: 0 / 441.6 MB, free: 9.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2703, allocations: 0 / 441.6 MB, free: 9.852 MB / 318.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.001185/0.2715, allocations: 0.7894 MB / 442.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2715, allocations: 11.89 kB / 442.4 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005244/0.2721, allocations: 80.33 kB / 442.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/0.2727, allocations: 427.2 kB / 442.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.2728, allocations: 33.36 kB / 443 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.2729, allocations: 52.02 kB / 443 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000803/0.2737, allocations: 0.6765 MB / 443.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.2738, allocations: 0 / 443.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.2738, allocations: 19.98 kB / 443.7 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.274, allocations: 48.97 kB / 443.7 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.2748, allocations: 0.6752 MB / 444.4 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.2776, allocations: 2.493 MB / 446.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.278, allocations: 345.3 kB / 447.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.2783, allocations: 221.7 kB / 447.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.2783, allocations: 11.98 kB / 447.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.2783, allocations: 34.5 kB / 447.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.2783, allocations: 4 kB / 447.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.001688/0.28, allocations: 1.364 MB / 448.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.2801, allocations: 81.11 kB / 449 MB, free: 2.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.2803, allocations: 304.3 kB / 449.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.2803, allocations: 33.7 kB / 449.3 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.2804, allocations: 251.6 kB / 449.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.984e-05/0.2805, allocations: 150 kB / 449.7 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.2806, allocations: 98.14 kB / 449.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.18e-05/0.2807, allocations: 350.8 kB / 450.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.2809, allocations: 197 kB / 450.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.2812, allocations: 365.2 kB / 450.7 MB, free: 332 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.2818, allocations: 0.6077 MB / 451.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2818, allocations: 4 kB / 451.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008902/0.2827, allocations: 0.6227 MB / 451.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.2828, allocations: 8 kB / 451.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.2828, allocations: 7.938 kB / 451.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.2828, allocations: 8.688 kB / 451.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.2832, allocations: 119.8 kB / 452 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.2832, allocations: 11.94 kB / 452.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.2835, allocations: 27.92 kB / 452.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.2835, allocations: 27.98 kB / 452.1 MB, free: 14.8 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.2838, allocations: 209.6 kB / 452.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/0.2839, allocations: 43.45 kB / 452.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007675/0.2846, allocations: 0.489 MB / 452.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.2847, allocations: 12 kB / 452.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2847, allocations: 4 kB / 452.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2847, allocations: 3.984 kB / 452.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.2866, allocations: 1.105 MB / 454 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2866, allocations: 0 / 454 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.2869, allocations: 75.89 kB / 454 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.287, allocations: 4.094 kB / 454 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.287, allocations: 8 kB / 454.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.287, allocations: 4 kB / 454.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.287, allocations: 0 / 454.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.2881, allocations: 0.8357 MB / 454.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.292e-05/0.2882, allocations: 104.7 kB / 455 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.2883, allocations: 12.03 kB / 455 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.2885, allocations: 19.97 kB / 455 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.2885, allocations: 23.91 kB / 455.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.2886, allocations: 12 kB / 455.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.2888, allocations: 211.1 kB / 455.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2888, allocations: 0 / 455.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004732/0.2893, allocations: 108 kB / 455.4 MB, free: 11.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002925/0.2896, allocations: 139.9 kB / 455.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000732/0.2903, allocations: 0.4899 MB / 456 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2903, allocations: 8 kB / 456 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.2906, allocations: 223.8 kB / 456.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.2912, allocations: 70.22 kB / 456.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2928, allocations: 1.119 MB / 457.4 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.2933, allocations: 0.8703 MB / 458.3 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003012/0.2936, allocations: 127.2 kB / 458.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.2937, allocations: 35.42 kB / 458.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2937, allocations: 0 / 458.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of Templates: time 0.008478/0.3022, allocations: 3.862 MB / 462.3 MB, free: 4.422 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1)