Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001784/0.001784, allocations: 123.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.001849/0.001849, allocations: 212.3 kB / 20.75 MB, free: 2.312 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.553/1.553, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.1816/0.1816, allocations: 38.5 MB / 348.7 MB, free: 2.582 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_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.003321/0.003321, allocations: 67.91 kB / 487.1 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1471, allocations: 62.42 MB / 0.5367 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003628/0.1507, allocations: 2.072 MB / 0.5387 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.1516, allocations: 0.5611 MB / 0.5392 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.1517, allocations: 0 / 0.5392 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.1518, allocations: 11.92 kB / 0.5393 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1519, allocations: 27.84 kB / 0.5393 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1523, allocations: 63.84 kB / 0.5393 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1524, allocations: 67.69 kB / 0.5394 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.1525, allocations: 3.938 kB / 0.5394 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.1526, allocations: 39.83 kB / 0.5395 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.1526, allocations: 31.91 kB / 0.5395 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.1526, allocations: 0 / 0.5395 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1528, allocations: 87.8 kB / 0.5396 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.1529, allocations: 23.92 kB / 0.5396 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.1529, allocations: 19.8 kB / 0.5396 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1531, allocations: 103.9 kB / 0.5397 GB, free: 4.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1531, allocations: 0 / 0.5397 GB, free: 4.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1531, allocations: 0 / 0.5397 GB, free: 4.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1531, allocations: 4 kB / 0.5397 GB, free: 4.402 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004767/0.1536, allocations: 396.9 kB / 0.5401 GB, free: 3.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1536, allocations: 16.03 kB / 0.5401 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.1537, allocations: 30.75 kB / 0.5401 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.1537, allocations: 12.83 kB / 0.5401 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1539, allocations: 188.1 kB / 0.5403 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1539, allocations: 4.375 kB / 0.5403 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.154, allocations: 3.938 kB / 0.5403 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1541, allocations: 65.67 kB / 0.5404 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1541, allocations: 0 / 0.5404 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1541, allocations: 0 / 0.5404 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1541, allocations: 0 / 0.5404 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.1542, allocations: 35.92 kB / 0.5404 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.1543, allocations: 161.7 kB / 0.5406 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.1545, allocations: 46.5 kB / 0.5406 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.1545, allocations: 36.88 kB / 0.5407 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1545, allocations: 0 / 0.5407 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1545, allocations: 34.56 kB / 0.5407 GB, free: 3.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.1546, allocations: 4 kB / 0.5407 GB, free: 3.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003142/0.1549, allocations: 183.4 kB / 0.5409 GB, free: 3.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.1549, allocations: 89.11 kB / 0.541 GB, free: 2.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.155, allocations: 117.8 kB / 0.5411 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1551, allocations: 25.7 kB / 0.5411 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.1551, allocations: 96 kB / 0.5412 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.1552, allocations: 43.58 kB / 0.5412 GB, free: 2.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.1552, allocations: 21.7 kB / 0.5413 GB, free: 2.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1554, allocations: 318.9 kB / 0.5416 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.1554, allocations: 31.98 kB / 0.5416 GB, free: 2.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.1555, allocations: 27.98 kB / 0.5416 GB, free: 2.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.1556, allocations: 153.1 kB / 0.5418 GB, free: 2.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1556, allocations: 0 / 0.5418 GB, free: 2.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001877/0.1558, allocations: 159.1 kB / 0.5419 GB, free: 1.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/0.1559, allocations: 57.61 kB / 0.542 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1559, allocations: 0 / 0.542 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1559, allocations: 4 kB / 0.542 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1559, allocations: 0 / 0.542 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1559, allocations: 4.062 kB / 0.542 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.708e-05/0.1559, allocations: 4 kB / 0.542 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.156, allocations: 4 kB / 0.542 GB, free: 1.801 MB / 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.0001522/0.1561, allocations: 171.4 kB / 0.5421 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.1561, allocations: 7.953 kB / 0.5422 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.525e-05/0.1561, allocations: 8.375 kB / 0.5422 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1561, allocations: 3.984 kB / 0.5422 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1561, allocations: 3.984 kB / 0.5422 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1561, allocations: 0 / 0.5422 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.1563, allocations: 185.5 kB / 0.5423 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1563, allocations: 0 / 0.5423 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-06/0.1563, allocations: 3.984 kB / 0.5423 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1563, allocations: 0 / 0.5423 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1563, allocations: 4 kB / 0.5424 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1563, allocations: 0 / 0.5424 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1563, allocations: 0 / 0.5424 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.1567, allocations: 282.5 kB / 0.5426 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.1568, allocations: 89.09 kB / 0.5427 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.1568, allocations: 0 / 0.5427 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.1568, allocations: 4 kB / 0.5427 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.1568, allocations: 3.984 kB / 0.5427 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1568, allocations: 4 kB / 0.5427 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.1569, allocations: 95.27 kB / 0.5428 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1569, allocations: 0 / 0.5428 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1571, allocations: 31.94 kB / 0.5428 GB, free: 0.8125 MB / 398.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.0008367/0.158, allocations: 0.8248 MB / 0.5436 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.1583, allocations: 223.3 kB / 0.5439 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1583, allocations: 3.938 kB / 0.5439 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.1585, allocations: 163.3 kB / 0.544 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.1588, allocations: 14.92 kB / 0.544 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1608, allocations: 1.774 MB / 0.5458 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.1612, allocations: 0.704 MB / 0.5465 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.091e-05/0.1613, allocations: 4 kB / 0.5465 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.1613, allocations: 19.42 kB / 0.5465 GB, free: 12.92 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1613, allocations: 0 / 0.5465 GB, free: 12.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.1867, allocations: 2.575 MB / 0.549 GB, free: 10.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.141, allocations: 4.062 kB / 0.549 GB, free: 10.44 MB / 414.1 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_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_matrixEqCirc1.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.194205039006192] Failed to read output from testmodel.py, exit status != 0: 8.21131896499719 8.225046387999999 8.069003192 Calling exit ...