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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008186/0.0008186, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2602/0.2602, allocations: 29.42 MB / 291.2 MB, free: 2.523 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 369.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/3.07e-05, allocations: 5.688 kB / 369.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004756/0.004787, allocations: 4.544 MB / 374.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.006709, allocations: 1.433 MB / 375.6 MB, free: 5.367 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.006912, allocations: 23.81 kB / 375.6 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007342/0.007646, allocations: 382.3 kB / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000453/0.008099, allocations: 258.5 kB / 376.2 MB, free: 4.715 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.008619, allocations: 255.2 kB / 376.5 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004725/0.009092, allocations: 0.5766 MB / 377.1 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.009417, allocations: 225.4 kB / 377.3 MB, free: 3.668 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.009799, allocations: 343 kB / 377.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.01014, allocations: 343.2 kB / 377.9 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.01019, allocations: 43.94 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.01052, allocations: 231.5 kB / 378.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.0107, allocations: 259.4 kB / 378.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.01086, allocations: 187.6 kB / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.01142, allocations: 0.549 MB / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01143, allocations: 0 / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01143, allocations: 0 / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.01144, allocations: 0 / 379.2 MB, free: 1.738 MB / 346.7 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.0009565/0.01239, allocations: 0.8095 MB / 380 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.01243, allocations: 19.92 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005558/0.01299, allocations: 172.4 kB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.01347, allocations: 378.7 kB / 380.6 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.0135, allocations: 29.38 kB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.0136, allocations: 44.5 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.01417, allocations: 473.5 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.01419, allocations: 4 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.01422, allocations: 15.91 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.01433, allocations: 48.97 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.01476, allocations: 305.6 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.01753, allocations: 2.477 MB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.01784, allocations: 190.3 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.01797, allocations: 111.4 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.01801, allocations: 8 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.01803, allocations: 37.39 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.995e-06/0.01804, allocations: 3.984 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001263/0.0193, allocations: 0.8417 MB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.01935, allocations: 89.05 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.01959, allocations: 338.2 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.01962, allocations: 29.7 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.01979, allocations: 311.1 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/0.01988, allocations: 162.6 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.02, allocations: 99.8 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.02017, allocations: 0.5235 MB / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.02031, allocations: 77.11 kB / 386.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.02056, allocations: 318.5 kB / 387 MB, free: 9.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008154/0.02138, allocations: 433.8 kB / 387.5 MB, free: 8.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.02138, allocations: 4 kB / 387.5 MB, free: 8.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005551/0.02194, allocations: 437.9 kB / 387.9 MB, free: 8.461 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.02196, allocations: 4 kB / 387.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.02198, allocations: 8 kB / 387.9 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.022, allocations: 11.94 kB / 387.9 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.02227, allocations: 111.8 kB / 388 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.02229, allocations: 11.98 kB / 388 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.02242, allocations: 24.45 kB / 388.1 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.02246, allocations: 20 kB / 388.1 MB, free: 8.273 MB / 362.7 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.000126/0.02258, allocations: 188.4 kB / 388.3 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.02266, allocations: 55.7 kB / 388.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.02307, allocations: 292.6 kB / 388.6 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.02309, allocations: 19.88 kB / 388.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.02309, allocations: 0 / 388.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.0231, allocations: 7.984 kB / 388.6 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009638/0.02407, allocations: 0.8114 MB / 389.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.02407, allocations: 0 / 389.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.02429, allocations: 79.83 kB / 389.5 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.0243, allocations: 0 / 389.5 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.02432, allocations: 8 kB / 389.5 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.02433, allocations: 4 kB / 389.5 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.02433, allocations: 7.922 kB / 389.5 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/0.02495, allocations: 0.5432 MB / 390.1 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.02499, allocations: 39.8 kB / 390.1 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.02502, allocations: 4 kB / 390.1 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.02513, allocations: 19.97 kB / 390.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.02517, allocations: 27.91 kB / 390.2 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.0252, allocations: 15.98 kB / 390.2 MB, free: 6.051 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.02532, allocations: 219 kB / 390.4 MB, free: 5.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02532, allocations: 0 / 390.4 MB, free: 5.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003357/0.02565, allocations: 111.9 kB / 390.5 MB, free: 5.727 MB / 362.7 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.0002514/0.0259, allocations: 135.1 kB / 390.6 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.02634, allocations: 277.6 kB / 390.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.02635, allocations: 0 / 390.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.02651, allocations: 132.9 kB / 391 MB, free: 5.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.02694, allocations: 76.61 kB / 391.1 MB, free: 5.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.02885, allocations: 0.9285 MB / 392.1 MB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.02896, allocations: 145.7 kB / 392.2 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002255/0.02919, allocations: 107.1 kB / 392.3 MB, free: 3.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.02927, allocations: 32.5 kB / 392.3 MB, free: 3.832 MB / 362.7 MB Notification: Performance of SimCode: time 1.442e-06/0.02927, allocations: 0 / 392.3 MB, free: 3.832 MB / 362.7 MB Notification: Performance of Templates: time 0.006899/0.03617, allocations: 3.815 MB / 396.1 MB, free: 92 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1802670161705464]