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.00157/0.00157, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001507/0.001507, allocations: 209.8 kB / 24.49 MB, free: 4.137 MB / 14.72 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.1802/0.1802, allocations: 38.52 MB / 353.2 MB, free: 12.55 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 71.88 kB / 493.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3271, allocations: 62.45 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006425/0.3335, allocations: 4.577 MB / 0.5477 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.3364, allocations: 1.497 MB / 0.5491 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.3367, allocations: 17 kB / 0.5492 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.3379, allocations: 398.5 kB / 0.5495 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006794/0.3386, allocations: 252.5 kB / 0.5498 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.3394, allocations: 253.4 kB / 0.55 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007676/0.3402, allocations: 0.5572 MB / 0.5506 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.3406, allocations: 227.4 kB / 0.5508 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004922/0.3411, allocations: 275.6 kB / 0.551 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005681/0.3416, allocations: 373.2 kB / 0.5514 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.119e-05/0.3417, allocations: 39.09 kB / 0.5514 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005186/0.3422, allocations: 255.2 kB / 0.5517 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.3425, allocations: 242.5 kB / 0.5519 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.3427, allocations: 260.5 kB / 0.5522 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008726/0.3436, allocations: 0.6769 MB / 0.5528 GB, free: 9.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3436, allocations: 9.031 kB / 0.5528 GB, free: 9.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3436, allocations: 0 / 0.5528 GB, free: 9.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3436, allocations: 0 / 0.5528 GB, free: 9.441 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001531/0.3452, allocations: 0.7111 MB / 0.5535 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3452, allocations: 13.83 kB / 0.5535 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007323/0.3459, allocations: 131.1 kB / 0.5537 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.3467, allocations: 357.3 kB / 0.554 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.3467, allocations: 29.25 kB / 0.554 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.3469, allocations: 55.81 kB / 0.5541 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.348, allocations: 0.6761 MB / 0.5547 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.348, allocations: 5.266 kB / 0.5547 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.3481, allocations: 16.02 kB / 0.5548 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.3482, allocations: 49.47 kB / 0.5548 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.3493, allocations: 0.671 MB / 0.5555 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.3533, allocations: 2.454 MB / 0.5579 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.3539, allocations: 313.1 kB / 0.5582 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.3542, allocations: 205.7 kB / 0.5584 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.3543, allocations: 8 kB / 0.5584 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.3543, allocations: 42.44 kB / 0.5584 GB, free: 4.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.3543, allocations: 0 / 0.5584 GB, free: 4.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002278/0.3566, allocations: 1.287 MB / 0.5597 GB, free: 3.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.3566, allocations: 81.11 kB / 0.5597 GB, free: 3.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.357, allocations: 304.5 kB / 0.56 GB, free: 2.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.357, allocations: 29.7 kB / 0.5601 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.3572, allocations: 264.2 kB / 0.5603 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.3574, allocations: 154.7 kB / 0.5605 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.3575, allocations: 106.2 kB / 0.5606 GB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3577, allocations: 354.7 kB / 0.5609 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.358, allocations: 201 kB / 0.5611 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.3584, allocations: 357.6 kB / 0.5614 GB, free: 1.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007844/0.3592, allocations: 0.606 MB / 0.562 GB, free: 0.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3592, allocations: 0 / 0.562 GB, free: 0.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009702/0.3602, allocations: 0.6384 MB / 0.5626 GB, free: 64 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3602, allocations: 4 kB / 0.5626 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3602, allocations: 8 kB / 0.5627 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3603, allocations: 8 kB / 0.5627 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.3607, allocations: 111.8 kB / 0.5628 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.3607, allocations: 8 kB / 0.5628 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.361, allocations: 28.47 kB / 0.5628 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.361, allocations: 20 kB / 0.5628 GB, free: 15.88 MB / 414.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.0002766/0.3613, allocations: 217.6 kB / 0.563 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/0.3614, allocations: 39.7 kB / 0.5631 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000822/0.3622, allocations: 0.4925 MB / 0.5635 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.3622, allocations: 12 kB / 0.5636 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3622, allocations: 0 / 0.5636 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3622, allocations: 3.984 kB / 0.5636 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.3641, allocations: 1.08 MB / 0.5646 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3641, allocations: 4 kB / 0.5646 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.3644, allocations: 67.95 kB / 0.5647 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.3645, allocations: 4 kB / 0.5647 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.3645, allocations: 8 kB / 0.5647 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3645, allocations: 8.031 kB / 0.5647 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.3645, allocations: 8 kB / 0.5647 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3656, allocations: 0.8206 MB / 0.5655 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.3657, allocations: 31.77 kB / 0.5655 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.3658, allocations: 19.95 kB / 0.5656 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.366, allocations: 15.98 kB / 0.5656 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.366, allocations: 27.84 kB / 0.5656 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.3661, allocations: 16.08 kB / 0.5656 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002311/0.3663, allocations: 211.1 kB / 0.5658 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3663, allocations: 0 / 0.5658 GB, free: 12.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005345/0.3668, allocations: 104 kB / 0.5659 GB, free: 12.6 MB / 414.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.0002483/0.3671, allocations: 143.1 kB / 0.5661 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007751/0.3678, allocations: 466 kB / 0.5665 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3678, allocations: 0 / 0.5665 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.3681, allocations: 212.3 kB / 0.5667 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.3687, allocations: 67.84 kB / 0.5668 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.3706, allocations: 1.184 MB / 0.5679 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.3711, allocations: 0.8704 MB / 0.5688 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.3712, allocations: 39.42 kB / 0.5688 GB, free: 9.555 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3712, allocations: 0 / 0.5688 GB, free: 9.555 MB / 414.1 MB Notification: Performance of Templates: time 0.009162/0.3804, allocations: 5.681 MB / 0.5744 GB, free: 3.875 MB / 414.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.533978794002905] Failed to read output from testmodel.py, exit status != 0: 0.3895529930014163 0.40399407899999995 0.057094869000000006 Calling exit ...