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.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.001758/0.001758, allocations: 120.8 kB / 17.79 MB, free: 5.285 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.00204/0.00204, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.572/1.572, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.1889/0.1889, allocations: 38.5 MB / 342.5 MB, free: 8.023 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.3 kB / 478.6 MB, free: 33.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1237, allocations: 61.25 MB / 0.5272 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006887/0.1305, allocations: 4.523 MB / 0.5316 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.1338, allocations: 1.546 MB / 0.5331 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003175/0.1341, allocations: 15.88 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.1352, allocations: 286.6 kB / 0.5334 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007238/0.1359, allocations: 262.7 kB / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.1366, allocations: 259.4 kB / 0.5339 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000906/0.1375, allocations: 0.639 MB / 0.5345 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005062/0.1381, allocations: 236.7 kB / 0.5348 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.1385, allocations: 287 kB / 0.535 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007025/0.1392, allocations: 414.7 kB / 0.5354 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.113e-05/0.1393, allocations: 44 kB / 0.5355 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.1397, allocations: 151.8 kB / 0.5356 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.14, allocations: 247.3 kB / 0.5359 GB, free: 8.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.1403, allocations: 286.5 kB / 0.5361 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009045/0.1412, allocations: 0.6615 MB / 0.5368 GB, free: 7.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1413, allocations: 4 kB / 0.5368 GB, free: 7.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1413, allocations: 0 / 0.5368 GB, free: 7.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1413, allocations: 0 / 0.5368 GB, free: 7.508 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002197/0.1435, allocations: 0.8939 MB / 0.5377 GB, free: 6.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.1435, allocations: 15.89 kB / 0.5377 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.1436, allocations: 86.64 kB / 0.5378 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005859/0.1442, allocations: 92.52 kB / 0.5378 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.1454, allocations: 0.4923 MB / 0.5383 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/0.1455, allocations: 33.31 kB / 0.5384 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.1456, allocations: 55.92 kB / 0.5384 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.1467, allocations: 0.6879 MB / 0.5391 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.1467, allocations: 0 / 0.5391 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.1468, allocations: 16 kB / 0.5391 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.1469, allocations: 40.97 kB / 0.5391 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008495/0.1477, allocations: 0.5229 MB / 0.5397 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.1519, allocations: 3.11 MB / 0.5427 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.1525, allocations: 305.8 kB / 0.543 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.1528, allocations: 173.7 kB / 0.5431 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.1528, allocations: 4 kB / 0.5431 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.1528, allocations: 42.5 kB / 0.5432 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.1528, allocations: 0 / 0.5432 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002397/0.1552, allocations: 1.215 MB / 0.5444 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.1553, allocations: 85.23 kB / 0.5445 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.1558, allocations: 397.5 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.1559, allocations: 33.7 kB / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.1561, allocations: 300 kB / 0.5452 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.1562, allocations: 126.9 kB / 0.5453 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.1564, allocations: 110.1 kB / 0.5454 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1566, allocations: 354.7 kB / 0.5457 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.1569, allocations: 193 kB / 0.5459 GB, free: 13.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.1574, allocations: 381.5 kB / 0.5463 GB, free: 13.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008168/0.1582, allocations: 0.5893 MB / 0.5468 GB, free: 12.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.1582, allocations: 8 kB / 0.5469 GB, free: 12.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001926/0.1601, allocations: 0.8181 MB / 0.5477 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.1601, allocations: 8 kB / 0.5477 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.1601, allocations: 8 kB / 0.5477 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.1614, allocations: 274 kB / 0.5479 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.1621, allocations: 135.8 kB / 0.5481 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005555/0.1676, allocations: 4.051 MB / 0.552 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.1681, allocations: 31.94 kB / 0.552 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.1681, allocations: 32.05 kB / 0.5521 GB, free: 6.922 MB / 414.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.0003259/0.1685, allocations: 221.9 kB / 0.5523 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.1685, allocations: 35.77 kB / 0.5523 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008763/0.1694, allocations: 481.1 kB / 0.5528 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1694, allocations: 7.938 kB / 0.5528 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1694, allocations: 0 / 0.5528 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1694, allocations: 7.984 kB / 0.5528 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.1711, allocations: 1.019 MB / 0.5538 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.1712, allocations: 3.938 kB / 0.5538 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.1716, allocations: 79.89 kB / 0.5539 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.1716, allocations: 7.984 kB / 0.5539 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.1717, allocations: 12 kB / 0.5539 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.1717, allocations: 8.062 kB / 0.5539 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1717, allocations: 0 / 0.5539 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.1728, allocations: 0.7398 MB / 0.5546 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.1729, allocations: 120.7 kB / 0.5547 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-05/0.173, allocations: 15.98 kB / 0.5547 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.1733, allocations: 23.98 kB / 0.5548 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.1733, allocations: 23.91 kB / 0.5548 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.1733, allocations: 12 kB / 0.5548 GB, free: 4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000329/0.1737, allocations: 271.1 kB / 0.5551 GB, free: 3.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1737, allocations: 0 / 0.5551 GB, free: 3.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006155/0.1743, allocations: 120.1 kB / 0.5552 GB, free: 3.621 MB / 414.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.0015/0.1758, allocations: 1.308 MB / 0.5565 GB, free: 2.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.1775, allocations: 0.7747 MB / 0.5572 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.1775, allocations: 4.938 kB / 0.5572 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.1778, allocations: 187.9 kB / 0.5574 GB, free: 1.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006249/0.1784, allocations: 92.25 kB / 0.5575 GB, free: 1.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009768/0.1882, allocations: 5.31 MB / 0.5627 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.1888, allocations: 0.8975 MB / 0.5635 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003865/0.1892, allocations: 131.3 kB / 0.5637 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.1895, allocations: 167.4 kB / 0.5638 GB, free: 10.39 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1895, allocations: 0 / 0.5638 GB, free: 10.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.2332, allocations: 10.75 MB / 0.5743 GB, free: 15.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.12, allocations: 7.938 kB / 0.5743 GB, free: 15.76 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.133837854024023] Failed to read output from testmodel.py, exit status != 0: 13.224608350079507 13.24932084 13.103595349 Calling exit ...