Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.001809/0.001809, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002041/0.002041, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.623/1.623, 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.2222/0.2222, allocations: 38.51 MB / 348.7 MB, free: 2.594 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.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.002079/0.002079, allocations: 75.88 kB / 487.1 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.142, allocations: 62.4 MB / 0.5367 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003706/0.1457, allocations: 2.075 MB / 0.5387 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009851/0.1466, allocations: 0.561 MB / 0.5392 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.1467, allocations: 3.938 kB / 0.5392 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.1469, allocations: 15.92 kB / 0.5393 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.1469, allocations: 23.91 kB / 0.5393 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.1473, allocations: 67.78 kB / 0.5393 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1475, allocations: 59.77 kB / 0.5394 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.1475, allocations: 0 / 0.5394 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1477, allocations: 39.83 kB / 0.5394 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.1477, allocations: 27.91 kB / 0.5395 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.1477, allocations: 0 / 0.5395 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.1479, allocations: 95.78 kB / 0.5396 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.148, allocations: 43.84 kB / 0.5396 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.148, allocations: 47.56 kB / 0.5396 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1483, allocations: 163.4 kB / 0.5398 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1483, allocations: 0 / 0.5398 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1483, allocations: 0 / 0.5398 GB, free: 4.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1483, allocations: 0 / 0.5398 GB, free: 4.312 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005762/0.1489, allocations: 480.3 kB / 0.5403 GB, free: 3.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1489, allocations: 8.031 kB / 0.5403 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.812e-05/0.149, allocations: 46.73 kB / 0.5403 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.149, allocations: 20.8 kB / 0.5403 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1493, allocations: 203.2 kB / 0.5405 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.1493, allocations: 0 / 0.5405 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.1493, allocations: 0 / 0.5405 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.1495, allocations: 130.6 kB / 0.5406 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1495, allocations: 0 / 0.5406 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1495, allocations: 7.984 kB / 0.5407 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1495, allocations: 0 / 0.5407 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1496, allocations: 96.23 kB / 0.5407 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.1498, allocations: 210 kB / 0.5409 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.15, allocations: 102.9 kB / 0.541 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1501, allocations: 101.2 kB / 0.5411 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-06/0.1501, allocations: 0 / 0.5411 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1501, allocations: 30.56 kB / 0.5412 GB, free: 2.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 9.51e-07/0.1501, allocations: 0 / 0.5412 GB, free: 2.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007061/0.1508, allocations: 480 kB / 0.5416 GB, free: 2.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.1509, allocations: 109.1 kB / 0.5417 GB, free: 2.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1511, allocations: 150.4 kB / 0.5419 GB, free: 1.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1511, allocations: 25.7 kB / 0.5419 GB, free: 1.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.1512, allocations: 100.7 kB / 0.542 GB, free: 1.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.1514, allocations: 142.7 kB / 0.5421 GB, free: 1.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.1514, allocations: 33.7 kB / 0.5422 GB, free: 1.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1516, allocations: 334.8 kB / 0.5425 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1517, allocations: 87.97 kB / 0.5426 GB, free: 1.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.1518, allocations: 100.9 kB / 0.5427 GB, free: 1.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.1522, allocations: 364.4 kB / 0.543 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1522, allocations: 3.938 kB / 0.543 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00038/0.1525, allocations: 327.1 kB / 0.5433 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.1526, allocations: 81.64 kB / 0.5434 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1526, allocations: 0 / 0.5434 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1527, allocations: 4 kB / 0.5434 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.1527, allocations: 0 / 0.5434 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1527, allocations: 0 / 0.5434 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.569e-05/0.1528, allocations: 19.84 kB / 0.5434 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.1528, allocations: 11.98 kB / 0.5434 GB, free: 312 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002426/0.153, allocations: 232.1 kB / 0.5437 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.1531, allocations: 23.86 kB / 0.5437 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.1531, allocations: 17.95 kB / 0.5437 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1531, allocations: 0 / 0.5437 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1531, allocations: 0 / 0.5437 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1531, allocations: 0 / 0.5437 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1533, allocations: 233.3 kB / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1533, allocations: 0 / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1533, allocations: 0 / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1533, allocations: 4 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1534, allocations: 8 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1534, allocations: 0 / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1534, allocations: 3.938 kB / 0.5439 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.1544, allocations: 0.9043 MB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.1545, allocations: 96.91 kB / 0.5449 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1545, allocations: 8 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.019e-05/0.1546, allocations: 4 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.1546, allocations: 12.03 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.1546, allocations: 7.984 kB / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.516e-05/0.1547, allocations: 122.4 kB / 0.5451 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1547, allocations: 3.938 kB / 0.5451 GB, free: 14.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.155, allocations: 59.94 kB / 0.5451 GB, free: 14.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.001613/0.1566, allocations: 1.461 MB / 0.5466 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009931/0.1576, allocations: 0.8193 MB / 0.5474 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1576, allocations: 0 / 0.5474 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006222/0.1582, allocations: 0.5967 MB / 0.5479 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1586, allocations: 31.78 kB / 0.548 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.1628, allocations: 3.464 MB / 0.5513 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.1632, allocations: 0.7517 MB / 0.5521 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.004e-05/0.1633, allocations: 4 kB / 0.5521 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.1633, allocations: 39.42 kB / 0.5521 GB, free: 7.121 MB / 414.1 MB Notification: Performance of SimCode: time 1.653e-06/0.1633, allocations: 0 / 0.5521 GB, free: 7.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.1947, allocations: 4.887 MB / 0.5569 GB, free: 2.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.313, allocations: 64 / 0.5569 GB, free: 2.344 MB / 414.1 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.441438616006053] Failed to read output from testmodel.py, exit status != 0: 8.384374948000186 8.407512048 8.254964165 Calling exit ...