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.001301/0.001301, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001725/0.001725, allocations: 210.9 kB / 23.73 MB, free: 4.387 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1923/0.1923, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002274/0.002274, allocations: 71.89 kB / 493 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4011, allocations: 62.46 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.008631/0.4097, allocations: 4.335 MB / 0.5466 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004319/0.414, allocations: 1.383 MB / 0.548 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004973/0.4145, allocations: 17.22 kB / 0.548 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.4161, allocations: 378.7 kB / 0.5484 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.4173, allocations: 248.8 kB / 0.5486 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.4185, allocations: 253.9 kB / 0.5489 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.4196, allocations: 0.5568 MB / 0.5494 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.4202, allocations: 225.4 kB / 0.5496 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008206/0.421, allocations: 262.5 kB / 0.5499 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009579/0.4219, allocations: 365.2 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.4222, allocations: 39.62 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008733/0.423, allocations: 235.2 kB / 0.5505 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005081/0.4235, allocations: 248.8 kB / 0.5507 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007716/0.4243, allocations: 213.7 kB / 0.5509 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.426, allocations: 0.6866 MB / 0.5516 GB, free: 9.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.426, allocations: 0 / 0.5516 GB, free: 9.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.426, allocations: 1.094 kB / 0.5516 GB, free: 9.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.069e-05/0.426, allocations: 0 / 0.5516 GB, free: 9.738 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.002889/0.4289, allocations: 0.7206 MB / 0.5523 GB, free: 9.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.429, allocations: 14.08 kB / 0.5523 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.4302, allocations: 118.1 kB / 0.5524 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.4313, allocations: 361.8 kB / 0.5528 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.4313, allocations: 25.41 kB / 0.5528 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.4315, allocations: 48.7 kB / 0.5528 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.4331, allocations: 0.6826 MB / 0.5535 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.4331, allocations: 1.031 kB / 0.5535 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/0.4332, allocations: 16.28 kB / 0.5535 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002431/0.4334, allocations: 53.41 kB / 0.5536 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.435, allocations: 0.6667 MB / 0.5542 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004799/0.4398, allocations: 2.282 MB / 0.5564 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.4405, allocations: 313.2 kB / 0.5567 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.4409, allocations: 201.6 kB / 0.5569 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.4409, allocations: 7.938 kB / 0.5569 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.4409, allocations: 38.56 kB / 0.557 GB, free: 5.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 3.737e-06/0.441, allocations: 0 / 0.557 GB, free: 5.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002742/0.4437, allocations: 1.286 MB / 0.5582 GB, free: 3.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.4438, allocations: 85.11 kB / 0.5583 GB, free: 3.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.4442, allocations: 300 kB / 0.5586 GB, free: 3.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.4442, allocations: 29.83 kB / 0.5586 GB, free: 3.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.4445, allocations: 268.1 kB / 0.5589 GB, free: 3.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.4446, allocations: 150.7 kB / 0.559 GB, free: 2.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.4449, allocations: 102.1 kB / 0.5591 GB, free: 2.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.4451, allocations: 350.8 kB / 0.5595 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.4454, allocations: 205 kB / 0.5597 GB, free: 2.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.4459, allocations: 357.6 kB / 0.56 GB, free: 1.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009304/0.4469, allocations: 0.6021 MB / 0.5606 GB, free: 1.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.4469, allocations: 4 kB / 0.5606 GB, free: 1.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001124/0.448, allocations: 0.6306 MB / 0.5612 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.448, allocations: 11.94 kB / 0.5612 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.448, allocations: 8 kB / 0.5612 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.4481, allocations: 4 kB / 0.5612 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.4485, allocations: 115.8 kB / 0.5613 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.4485, allocations: 16.48 kB / 0.5614 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.4488, allocations: 23.98 kB / 0.5614 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.4489, allocations: 20 kB / 0.5614 GB, free: 304 kB / 398.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.0003358/0.4492, allocations: 213.6 kB / 0.5616 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.4493, allocations: 43.64 kB / 0.5616 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008663/0.4502, allocations: 0.4887 MB / 0.5621 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.4502, allocations: 15.98 kB / 0.5621 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4502, allocations: 0 / 0.5621 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4503, allocations: 0 / 0.5621 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.4523, allocations: 0.9754 MB / 0.5631 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4523, allocations: 4 kB / 0.5631 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.4527, allocations: 71.89 kB / 0.5632 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.4527, allocations: 8 kB / 0.5632 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.4528, allocations: 8 kB / 0.5632 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4528, allocations: 0 / 0.5632 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-05/0.4528, allocations: 11.97 kB / 0.5632 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.4541, allocations: 0.8206 MB / 0.564 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.4542, allocations: 35.86 kB / 0.564 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.4543, allocations: 16.02 kB / 0.564 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.4545, allocations: 19.92 kB / 0.5641 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.4546, allocations: 23.95 kB / 0.5641 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.4546, allocations: 8 kB / 0.5641 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000262/0.4549, allocations: 207.1 kB / 0.5643 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4549, allocations: 0 / 0.5643 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000625/0.4555, allocations: 107.9 kB / 0.5644 GB, free: 13.14 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.000316/0.4558, allocations: 131.1 kB / 0.5645 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008311/0.4566, allocations: 472.8 kB / 0.565 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4566, allocations: 1.375 kB / 0.565 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.457, allocations: 208 kB / 0.5652 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005911/0.4576, allocations: 78.06 kB / 0.5652 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.4599, allocations: 1.119 MB / 0.5663 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.4603, allocations: 270.2 kB / 0.5666 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003891/0.4607, allocations: 123.1 kB / 0.5667 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.4609, allocations: 31.44 kB / 0.5667 GB, free: 10.67 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4609, allocations: 4 kB / 0.5667 GB, free: 10.67 MB / 414.1 MB Notification: Performance of Templates: time 0.0109/0.4718, allocations: 4.32 MB / 0.571 GB, free: 6.398 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: 5.320602113381028] Failed to read output from testmodel.py, exit status != 0: 0.48243583738803864 0.499207485 0.06966614900000001 Calling exit ...