Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.001343/0.001343, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00227/0.00227, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.596/1.596, 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.1925/0.1925, allocations: 38.51 MB / 348.7 MB, free: 2.609 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.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",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.002014/0.002014, allocations: 71.91 kB / 487.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1115, allocations: 62.42 MB / 0.5367 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006389/0.1179, allocations: 4.468 MB / 0.541 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.1207, allocations: 1.496 MB / 0.5425 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.121, allocations: 19.81 kB / 0.5425 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.1222, allocations: 378.4 kB / 0.5429 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007236/0.1229, allocations: 250.8 kB / 0.5431 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007559/0.1237, allocations: 243.4 kB / 0.5433 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007912/0.1244, allocations: 0.565 MB / 0.5439 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004445/0.1249, allocations: 225.1 kB / 0.5441 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.1253, allocations: 271 kB / 0.5444 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.1259, allocations: 386.9 kB / 0.5447 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.1259, allocations: 40 kB / 0.5448 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.1264, allocations: 239.6 kB / 0.545 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.1267, allocations: 247.3 kB / 0.5452 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.1269, allocations: 250.8 kB / 0.5455 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008832/0.1278, allocations: 0.685 MB / 0.5461 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1278, allocations: 0 / 0.5461 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1278, allocations: 0 / 0.5461 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.1278, allocations: 0 / 0.5461 GB, free: 13.84 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001723/0.1296, allocations: 0.7771 MB / 0.5469 GB, free: 13.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.1296, allocations: 15.97 kB / 0.5469 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.1297, allocations: 86.7 kB / 0.547 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008655/0.1306, allocations: 136.4 kB / 0.5471 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008139/0.1314, allocations: 427.4 kB / 0.5475 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.1314, allocations: 25.38 kB / 0.5476 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.1316, allocations: 55.86 kB / 0.5476 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1327, allocations: 0.6726 MB / 0.5483 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.1328, allocations: 4 kB / 0.5483 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/0.1328, allocations: 19.98 kB / 0.5483 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001969/0.133, allocations: 52.95 kB / 0.5483 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1341, allocations: 0.6674 MB / 0.549 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.138, allocations: 2.433 MB / 0.5514 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005983/0.1386, allocations: 333.7 kB / 0.5517 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.139, allocations: 226 kB / 0.5519 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.139, allocations: 4.281 kB / 0.5519 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1391, allocations: 42.72 kB / 0.5519 GB, free: 7.598 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.554e-06/0.1391, allocations: 0 / 0.5519 GB, free: 7.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002571/0.1416, allocations: 1.491 MB / 0.5534 GB, free: 6.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.1417, allocations: 81.11 kB / 0.5535 GB, free: 5.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.1421, allocations: 290.9 kB / 0.5538 GB, free: 5.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.1421, allocations: 29.7 kB / 0.5538 GB, free: 5.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.1423, allocations: 252.3 kB / 0.554 GB, free: 5.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.1425, allocations: 170.5 kB / 0.5542 GB, free: 5.207 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.1426, allocations: 90.25 kB / 0.5543 GB, free: 5.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1428, allocations: 350.8 kB / 0.5546 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.1432, allocations: 221 kB / 0.5548 GB, free: 4.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.1437, allocations: 361.7 kB / 0.5552 GB, free: 4.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.1446, allocations: 0.6278 MB / 0.5558 GB, free: 3.449 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1446, allocations: 0 / 0.5558 GB, free: 3.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001375/0.146, allocations: 0.7199 MB / 0.5565 GB, free: 2.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.146, allocations: 8 kB / 0.5565 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009755/0.147, allocations: 0.5185 MB / 0.557 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003982/0.1474, allocations: 77.22 kB / 0.5571 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.1479, allocations: 107.8 kB / 0.5572 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.1499, allocations: 1.728 MB / 0.5589 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.1502, allocations: 32.11 kB / 0.5589 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.1503, allocations: 27.92 kB / 0.5589 GB, free: 88 kB / 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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.0003247/0.1506, allocations: 210.3 kB / 0.5591 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1507, allocations: 43.69 kB / 0.5592 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.1517, allocations: 0.5707 MB / 0.5597 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/0.1518, allocations: 12 kB / 0.5597 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1518, allocations: 0 / 0.5597 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1518, allocations: 0 / 0.5597 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.1539, allocations: 1.196 MB / 0.5609 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1539, allocations: 4.094 kB / 0.5609 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.1543, allocations: 87.88 kB / 0.561 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.1543, allocations: 4 kB / 0.561 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.1544, allocations: 11.94 kB / 0.561 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1544, allocations: 0 / 0.561 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1544, allocations: 4 kB / 0.561 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.1557, allocations: 0.9355 MB / 0.5619 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1559, allocations: 112.9 kB / 0.562 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.1559, allocations: 8 kB / 0.562 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.1561, allocations: 19.92 kB / 0.562 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.1562, allocations: 31.89 kB / 0.5621 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.1563, allocations: 12 kB / 0.5621 GB, free: 12.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.1565, allocations: 198 kB / 0.5623 GB, free: 12.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1565, allocations: 0 / 0.5623 GB, free: 12.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005459/0.157, allocations: 123.9 kB / 0.5624 GB, free: 12.39 MB / 430.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 (39): * Single equations (assignments): 36 * 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.001778/0.1588, allocations: 1.509 MB / 0.5639 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.16, allocations: 0.6299 MB / 0.5645 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.16, allocations: 4.062 kB / 0.5645 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.1604, allocations: 236.1 kB / 0.5647 GB, free: 9.961 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.1609, allocations: 71.12 kB / 0.5648 GB, free: 9.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/0.1676, allocations: 4.585 MB / 0.5693 GB, free: 5.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.1681, allocations: 0.8782 MB / 0.5701 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003456/0.1685, allocations: 127.1 kB / 0.5702 GB, free: 4.051 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.1687, allocations: 143.4 kB / 0.5704 GB, free: 3.91 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1687, allocations: 0 / 0.5704 GB, free: 3.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03869/0.2074, allocations: 8.724 MB / 0.5789 GB, free: 11.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.83, allocations: 19.22 kB / 0.5789 GB, free: 11.3 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.152529318002053] Failed to read output from testmodel.py, exit status != 0: 10.9141939359979 11.193193024 10.804434086 Calling exit ...