Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 119.5 kB / 18.41 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 188.3 kB / 21.35 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.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.309/0.309, allocations: 38.01 MB / 337.2 MB, free: 12.95 MB / 270.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.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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.5 kB / 467.5 MB, free: 27.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1093, allocations: 58.07 MB / 0.5133 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007064/0.1164, allocations: 5.393 MB / 0.5185 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006305/0.1227, allocations: 4.145 MB / 0.5226 GB, free: 180 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.1231, allocations: 19.88 kB / 0.5226 GB, free: 160 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009202/0.1324, allocations: 4.846 MB / 0.5273 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009904/0.1334, allocations: 346.4 kB / 0.5277 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.134, allocations: 247.5 kB / 0.5279 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002213/0.1363, allocations: 1.559 MB / 0.5294 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005962/0.1369, allocations: 388.2 kB / 0.5298 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005159/0.1374, allocations: 366.6 kB / 0.5302 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006227/0.138, allocations: 450.3 kB / 0.5306 GB, free: 7.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.503e-05/0.1381, allocations: 48 kB / 0.5306 GB, free: 7.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.1384, allocations: 115.8 kB / 0.5307 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.1387, allocations: 279.3 kB / 0.531 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.1391, allocations: 338.3 kB / 0.5313 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009274/0.14, allocations: 0.747 MB / 0.5321 GB, free: 6.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.14, allocations: 0 / 0.5321 GB, free: 6.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.14, allocations: 0 / 0.5321 GB, free: 6.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1401, allocations: 0 / 0.5321 GB, free: 6.457 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001661/0.1417, allocations: 0.9245 MB / 0.533 GB, free: 5.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1418, allocations: 11.89 kB / 0.533 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004448/0.1422, allocations: 96.44 kB / 0.5331 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.1433, allocations: 0.557 MB / 0.5336 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.1433, allocations: 40.98 kB / 0.5336 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/0.1434, allocations: 47.95 kB / 0.5337 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/0.1444, allocations: 0.6492 MB / 0.5343 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1444, allocations: 3.938 kB / 0.5343 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.1445, allocations: 23.98 kB / 0.5344 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.1446, allocations: 52.95 kB / 0.5344 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007716/0.1454, allocations: 495.6 kB / 0.5349 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.1487, allocations: 2.512 MB / 0.5373 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.1492, allocations: 316.1 kB / 0.5376 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.1495, allocations: 179 kB / 0.5378 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.1495, allocations: 15.94 kB / 0.5378 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1496, allocations: 34.56 kB / 0.5378 GB, free: 220 kB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.1496, allocations: 4 kB / 0.5379 GB, free: 216 kB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.002542/0.1521, allocations: 1.657 MB / 0.5395 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.1522, allocations: 114.8 kB / 0.5396 GB, free: 14.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/0.1527, allocations: 421.9 kB / 0.54 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.1528, allocations: 29.7 kB / 0.54 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.153, allocations: 320.2 kB / 0.5403 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1531, allocations: 126.9 kB / 0.5404 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1532, allocations: 86.2 kB / 0.5405 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1534, allocations: 370.8 kB / 0.5409 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.1537, allocations: 165 kB / 0.541 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.1541, allocations: 296.8 kB / 0.5413 GB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.1547, allocations: 491.6 kB / 0.5418 GB, free: 11.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1547, allocations: 8 kB / 0.5418 GB, free: 11.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00134/0.1561, allocations: 0.7999 MB / 0.5426 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1561, allocations: 16.02 kB / 0.5426 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1561, allocations: 7.938 kB / 0.5426 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.1568, allocations: 205.5 kB / 0.5428 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.1571, allocations: 75.83 kB / 0.5429 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/0.1619, allocations: 4.228 MB / 0.547 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.1622, allocations: 27.91 kB / 0.547 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.1623, allocations: 20 kB / 0.547 GB, free: 6.176 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000314/0.1626, allocations: 225.9 kB / 0.5473 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.1627, allocations: 43.72 kB / 0.5473 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009633/0.1637, allocations: 0.6417 MB / 0.5479 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1637, allocations: 4 kB / 0.5479 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1637, allocations: 0 / 0.5479 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1637, allocations: 8.016 kB / 0.5479 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.1654, allocations: 1.191 MB / 0.5491 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1655, allocations: 4.062 kB / 0.5491 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.1659, allocations: 75.89 kB / 0.5492 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.1661, allocations: 53.67 kB / 0.5492 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.1661, allocations: 8 kB / 0.5492 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.1683, allocations: 2.843 MB / 0.552 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.1683, allocations: 4.031 kB / 0.552 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.1695, allocations: 0.9494 MB / 0.5529 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.1697, allocations: 148.8 kB / 0.5531 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/0.1697, allocations: 8 kB / 0.5531 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.17, allocations: 15.98 kB / 0.5531 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.1701, allocations: 27.95 kB / 0.5531 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.1701, allocations: 11.98 kB / 0.5531 GB, free: 15.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.1705, allocations: 295.1 kB / 0.5534 GB, free: 15.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.863e-06/0.1705, allocations: 4 kB / 0.5534 GB, free: 15.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006443/0.1711, allocations: 139.9 kB / 0.5536 GB, free: 14.96 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001344/0.1713, allocations: 99.25 kB / 0.5537 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.1726, allocations: 0.7475 MB / 0.5544 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.1726, allocations: 0 / 0.5544 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005686/0.1732, allocations: 433.9 kB / 0.5548 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.174, allocations: 116.1 kB / 0.5549 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.1764, allocations: 1.554 MB / 0.5564 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/0.1771, allocations: 0.9444 MB / 0.5573 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.1772, allocations: 39.44 kB / 0.5574 GB, free: 10.92 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1772, allocations: 0 / 0.5574 GB, free: 10.92 MB / 430.1 MB Notification: Performance of Templates: time 0.01513/0.1924, allocations: 11.33 MB / 0.5684 GB, free: 15.6 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.864085064968094] Failed to read output from testmodel.py, exit status != 0: 0.19884734600782394 0.21129849199999995 0.06878896200000001 Calling exit ...