Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.001308/0.001308, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001401/0.001401, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.57/1.57, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.181/0.181, allocations: 38.51 MB / 348.7 MB, free: 2.574 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.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) [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.001963/0.001963, allocations: 67.91 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.116, allocations: 62.42 MB / 0.5367 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006428/0.1224, allocations: 4.534 MB / 0.5411 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.1252, allocations: 1.578 MB / 0.5426 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.1254, allocations: 15.88 kB / 0.5427 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009038/0.1263, allocations: 298.6 kB / 0.5429 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.1269, allocations: 262.7 kB / 0.5432 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.1276, allocations: 267.4 kB / 0.5434 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007542/0.1283, allocations: 0.6352 MB / 0.5441 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004146/0.1287, allocations: 232.6 kB / 0.5443 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000437/0.1292, allocations: 306.9 kB / 0.5446 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.1298, allocations: 410.8 kB / 0.545 GB, free: 15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.1298, allocations: 40 kB / 0.545 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.1301, allocations: 167.7 kB / 0.5452 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.1304, allocations: 243.4 kB / 0.5454 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.1307, allocations: 274.6 kB / 0.5457 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007917/0.1315, allocations: 0.6731 MB / 0.5463 GB, free: 13.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1315, allocations: 0 / 0.5463 GB, free: 13.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1315, allocations: 3.938 kB / 0.5463 GB, free: 13.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1315, allocations: 4 kB / 0.5463 GB, free: 13.6 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002058/0.1336, allocations: 0.9016 MB / 0.5472 GB, free: 12.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1336, allocations: 8.031 kB / 0.5472 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.1337, allocations: 86.7 kB / 0.5473 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007699/0.1345, allocations: 124.5 kB / 0.5474 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.1355, allocations: 0.4922 MB / 0.5479 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.1356, allocations: 33.38 kB / 0.5479 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.1357, allocations: 59.88 kB / 0.548 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.1369, allocations: 0.684 MB / 0.5487 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.1369, allocations: 7.938 kB / 0.5487 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.1369, allocations: 16 kB / 0.5487 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.1371, allocations: 40.97 kB / 0.5487 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009014/0.138, allocations: 0.5267 MB / 0.5492 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00573/0.1437, allocations: 3.102 MB / 0.5523 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000933/0.1446, allocations: 304.6 kB / 0.5526 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.1451, allocations: 170.2 kB / 0.5527 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.1451, allocations: 4 kB / 0.5527 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.1452, allocations: 38.56 kB / 0.5528 GB, free: 6.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 3.416e-06/0.1452, allocations: 0 / 0.5528 GB, free: 6.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.00325/0.1484, allocations: 1.223 MB / 0.554 GB, free: 5.398 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.1485, allocations: 89.23 kB / 0.554 GB, free: 5.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/0.1492, allocations: 393.5 kB / 0.5544 GB, free: 4.902 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.1493, allocations: 29.7 kB / 0.5544 GB, free: 4.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.1496, allocations: 308 kB / 0.5547 GB, free: 4.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.1498, allocations: 123 kB / 0.5549 GB, free: 4.441 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/0.1501, allocations: 102.2 kB / 0.555 GB, free: 4.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.1504, allocations: 354.7 kB / 0.5553 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.1509, allocations: 189 kB / 0.5555 GB, free: 3.793 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.1517, allocations: 389.5 kB / 0.5558 GB, free: 3.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.1531, allocations: 0.5969 MB / 0.5564 GB, free: 2.645 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.1531, allocations: 4 kB / 0.5564 GB, free: 2.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003035/0.1561, allocations: 0.8222 MB / 0.5572 GB, free: 1.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.1562, allocations: 11.98 kB / 0.5572 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.1562, allocations: 8 kB / 0.5572 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/0.158, allocations: 266 kB / 0.5575 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.1589, allocations: 135.8 kB / 0.5576 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007436/0.1663, allocations: 4.053 MB / 0.5616 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.1669, allocations: 19.98 kB / 0.5616 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/0.167, allocations: 28.05 kB / 0.5616 GB, free: 13 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004482/0.1674, allocations: 229.8 kB / 0.5619 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.1676, allocations: 39.77 kB / 0.5619 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.1688, allocations: 488.9 kB / 0.5624 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.1688, allocations: 11.88 kB / 0.5624 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1688, allocations: 0 / 0.5624 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.1688, allocations: 3.984 kB / 0.5624 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.1711, allocations: 1.023 MB / 0.5634 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.1711, allocations: 7.938 kB / 0.5634 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.1717, allocations: 83.88 kB / 0.5635 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.1717, allocations: 4 kB / 0.5635 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.1718, allocations: 12 kB / 0.5635 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.1718, allocations: 3.938 kB / 0.5635 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.1718, allocations: 8.062 kB / 0.5635 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.1734, allocations: 0.7393 MB / 0.5642 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.1735, allocations: 121 kB / 0.5643 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.1736, allocations: 16.05 kB / 0.5643 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.174, allocations: 23.98 kB / 0.5644 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.1741, allocations: 23.91 kB / 0.5644 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.1742, allocations: 12 kB / 0.5644 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004738/0.1747, allocations: 267.1 kB / 0.5647 GB, free: 9.781 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1747, allocations: 0 / 0.5647 GB, free: 9.781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009298/0.1756, allocations: 124 kB / 0.5648 GB, free: 9.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * 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.002031/0.1776, allocations: 1.284 MB / 0.566 GB, free: 8.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.1799, allocations: 0.7787 MB / 0.5668 GB, free: 7.535 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1799, allocations: 0 / 0.5668 GB, free: 7.535 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.1804, allocations: 196.9 kB / 0.567 GB, free: 7.344 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/0.1812, allocations: 84.28 kB / 0.5671 GB, free: 7.266 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.195, allocations: 5.317 MB / 0.5722 GB, free: 1.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.1958, allocations: 0.8937 MB / 0.5731 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005397/0.1964, allocations: 127.3 kB / 0.5732 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.1968, allocations: 175.4 kB / 0.5734 GB, free: 456 kB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1968, allocations: 0 / 0.5734 GB, free: 456 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05658/0.2533, allocations: 10.73 MB / 0.5839 GB, free: 5.836 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.08, allocations: 14.05 kB / 0.5839 GB, free: 5.824 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.394915254000807] Failed to read output from testmodel.py, exit status != 0: 13.178906611996354 13.440864221 13.306477671 Calling exit ...