Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001692/0.001692, allocations: 121 kB / 18.5 MB, free: 4.562 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.001878/0.001878, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.538/1.538, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1831/0.1831, allocations: 38.51 MB / 349.4 MB, free: 2.578 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="cs",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.001952/0.001952, allocations: 67.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1255, allocations: 62.42 MB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007718/0.1332, allocations: 4.764 MB / 0.542 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.1361, allocations: 1.371 MB / 0.5433 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004557/0.1366, allocations: 19.81 kB / 0.5434 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.1382, allocations: 430.1 kB / 0.5438 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008643/0.1391, allocations: 230.8 kB / 0.544 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006641/0.1397, allocations: 175.6 kB / 0.5442 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009464/0.1407, allocations: 0.549 MB / 0.5447 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005924/0.1413, allocations: 273.8 kB / 0.545 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006499/0.1419, allocations: 270.9 kB / 0.5452 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/0.1426, allocations: 295 kB / 0.5455 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.1427, allocations: 28 kB / 0.5455 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.1432, allocations: 131.8 kB / 0.5457 GB, free: 15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.1435, allocations: 195.4 kB / 0.5458 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.1439, allocations: 218.9 kB / 0.546 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009966/0.1449, allocations: 0.533 MB / 0.5466 GB, free: 14.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1449, allocations: 0 / 0.5466 GB, free: 14.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1449, allocations: 0 / 0.5466 GB, free: 14.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.145, allocations: 0 / 0.5466 GB, free: 14.06 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001666/0.1466, allocations: 0.7374 MB / 0.5473 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.1467, allocations: 8.031 kB / 0.5473 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.693e-05/0.1467, allocations: 9.188 kB / 0.5473 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.1468, allocations: 82.7 kB / 0.5474 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008048/0.1476, allocations: 84.59 kB / 0.5475 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.1484, allocations: 416.3 kB / 0.5479 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.1485, allocations: 41.11 kB / 0.5479 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.1487, allocations: 39.98 kB / 0.5479 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008107/0.1495, allocations: 476.8 kB / 0.5484 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.1495, allocations: 0 / 0.5484 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.1495, allocations: 15.98 kB / 0.5484 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/0.1497, allocations: 32.98 kB / 0.5484 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.1503, allocations: 351.7 kB / 0.5488 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.1528, allocations: 1.614 MB / 0.5504 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.1532, allocations: 165.1 kB / 0.5505 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.1533, allocations: 105.7 kB / 0.5506 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1534, allocations: 7.938 kB / 0.5506 GB, free: 9.672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1534, allocations: 34.56 kB / 0.5506 GB, free: 9.629 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.814e-06/0.1534, allocations: 0 / 0.5506 GB, free: 9.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001553/0.155, allocations: 0.8035 MB / 0.5514 GB, free: 8.777 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.155, allocations: 85.05 kB / 0.5515 GB, free: 8.676 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.1554, allocations: 300.6 kB / 0.5518 GB, free: 8.371 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1554, allocations: 25.7 kB / 0.5518 GB, free: 8.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.1556, allocations: 267.9 kB / 0.5521 GB, free: 8.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.198e-05/0.1557, allocations: 75.39 kB / 0.5522 GB, free: 8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1558, allocations: 65.77 kB / 0.5522 GB, free: 7.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.156, allocations: 342.8 kB / 0.5525 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.1562, allocations: 95.94 kB / 0.5526 GB, free: 7.492 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.1565, allocations: 192.8 kB / 0.5528 GB, free: 7.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004868/0.157, allocations: 332.4 kB / 0.5531 GB, free: 6.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.157, allocations: 11.94 kB / 0.5531 GB, free: 6.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009398/0.1579, allocations: 413.7 kB / 0.5535 GB, free: 6.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.1579, allocations: 6.781 kB / 0.5535 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005615/0.1585, allocations: 271.1 kB / 0.5538 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003919/0.1589, allocations: 80.72 kB / 0.5539 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.1592, allocations: 63.91 kB / 0.5539 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.1612, allocations: 1.715 MB / 0.5556 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.1614, allocations: 19.98 kB / 0.5556 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.1615, allocations: 8 kB / 0.5556 GB, free: 4.164 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.1617, allocations: 201.7 kB / 0.5558 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.1618, allocations: 31.81 kB / 0.5559 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004905/0.1623, allocations: 268.6 kB / 0.5561 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1623, allocations: 4 kB / 0.5561 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.1623, allocations: 0 / 0.5561 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1623, allocations: 3.938 kB / 0.5561 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.1636, allocations: 0.7498 MB / 0.5569 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1636, allocations: 0 / 0.5569 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.1638, allocations: 51.91 kB / 0.5569 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1639, allocations: 7.938 kB / 0.5569 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.1639, allocations: 7.984 kB / 0.5569 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1639, allocations: 4 kB / 0.5569 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1639, allocations: 0 / 0.5569 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.1646, allocations: 461.4 kB / 0.5574 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.1647, allocations: 108.9 kB / 0.5575 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.1647, allocations: 8 kB / 0.5575 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.1649, allocations: 11.98 kB / 0.5575 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1649, allocations: 15.98 kB / 0.5575 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1649, allocations: 11.94 kB / 0.5575 GB, free: 2.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.1652, allocations: 215.1 kB / 0.5577 GB, free: 1.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1652, allocations: 0 / 0.5577 GB, free: 1.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.1656, allocations: 84 kB / 0.5578 GB, free: 1.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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.000995/0.1666, allocations: 1 MB / 0.5588 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007576/0.1673, allocations: 367.1 kB / 0.5591 GB, free: 424 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1674, allocations: 4.125 kB / 0.5591 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1675, allocations: 98.41 kB / 0.5592 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.168, allocations: 65.34 kB / 0.5593 GB, free: 256 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/0.1731, allocations: 3.533 MB / 0.5627 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.1736, allocations: 0.8498 MB / 0.5636 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.1738, allocations: 78.89 kB / 0.5637 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.174, allocations: 135.4 kB / 0.5638 GB, free: 11.44 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.174, allocations: 0 / 0.5638 GB, free: 11.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.2049, allocations: 7.316 MB / 0.5709 GB, free: 4.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.93, allocations: 7.922 kB / 0.5709 GB, free: 4.285 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.937531850999221] Failed to read output from testmodel.py, exit status != 0: 11.075070518010762 11.091217476 10.943104158 Calling exit ...