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.0009933/0.0009933, allocations: 83.69 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0009098/0.0009098, allocations: 174 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8928/0.8928, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2542/0.2542, allocations: 29.41 MB / 290.1 MB, free: 2.43 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.49e-05, allocations: 3.828 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002791/0.002816, allocations: 2.141 MB / 432.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006242/0.003441, allocations: 0.5414 MB / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.003486, allocations: 4 kB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.003623, allocations: 15.91 kB / 432.9 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.003742, allocations: 19.91 kB / 432.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.00408, allocations: 75.69 kB / 433 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.004191, allocations: 59.77 kB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.004234, allocations: 0 / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.004387, allocations: 51.7 kB / 433.1 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.004434, allocations: 31.89 kB / 433.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.004446, allocations: 4 kB / 433.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.004604, allocations: 99.78 kB / 433.3 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.004649, allocations: 15.92 kB / 433.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.004672, allocations: 11.94 kB / 433.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.004829, allocations: 107.7 kB / 433.4 MB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.004834, allocations: 3.984 kB / 433.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.004835, allocations: 0 / 433.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.004841, allocations: 0 / 433.4 MB, free: 10.39 MB / 410.7 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.000322/0.005163, allocations: 323.7 kB / 433.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.00521, allocations: 11.98 kB / 433.7 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.005247, allocations: 42.69 kB / 433.8 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.00529, allocations: 12.89 kB / 433.8 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.005436, allocations: 113.7 kB / 433.9 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.00545, allocations: 4.375 kB / 433.9 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.005461, allocations: 384 / 433.9 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.00562, allocations: 107.7 kB / 434 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.005628, allocations: 7.938 kB / 434 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.005637, allocations: 0 / 434 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.005643, allocations: 0 / 434 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.458e-05/0.005717, allocations: 81.61 kB / 434.1 MB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.005838, allocations: 140.6 kB / 434.2 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.875e-05/0.005916, allocations: 92.25 kB / 434.3 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.005969, allocations: 82.56 kB / 434.4 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-06/0.005976, allocations: 3.938 kB / 434.4 MB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.006001, allocations: 42.5 kB / 434.4 MB, free: 9.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.006002, allocations: 0 / 434.4 MB, free: 9.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002753/0.006278, allocations: 282.6 kB / 434.7 MB, free: 8.887 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.006323, allocations: 89.11 kB / 434.8 MB, free: 8.781 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.006397, allocations: 122.3 kB / 434.9 MB, free: 8.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.006408, allocations: 25.7 kB / 434.9 MB, free: 8.621 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.006444, allocations: 92.08 kB / 435 MB, free: 8.527 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.006484, allocations: 39.69 kB / 435.1 MB, free: 8.488 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.006512, allocations: 17.75 kB / 435.1 MB, free: 8.465 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.006605, allocations: 322.8 kB / 435.4 MB, free: 8.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.006665, allocations: 77.67 kB / 435.5 MB, free: 8.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/0.006712, allocations: 77.67 kB / 435.6 MB, free: 7.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.006827, allocations: 168.2 kB / 435.7 MB, free: 7.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006829, allocations: 4 kB / 435.7 MB, free: 7.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001464/0.006976, allocations: 200.9 kB / 435.9 MB, free: 7.578 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.007019, allocations: 53.62 kB / 436 MB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.007027, allocations: 7.969 kB / 436 MB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.007039, allocations: 0 / 436 MB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-06/0.007041, allocations: 4 kB / 436 MB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.007046, allocations: 4.062 kB / 436 MB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.00707, allocations: 15.83 kB / 436 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.007089, allocations: 4 kB / 436 MB, free: 7.484 MB / 410.7 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 9.251e-05/0.007182, allocations: 163.5 kB / 436.2 MB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.007191, allocations: 11.89 kB / 436.2 MB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.132e-05/0.007202, allocations: 8.438 kB / 436.2 MB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007204, allocations: 0 / 436.2 MB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.007209, allocations: 0 / 436.2 MB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.007212, allocations: 3.984 kB / 436.2 MB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.7e-05/0.007289, allocations: 132.8 kB / 436.3 MB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.00729, allocations: 4 kB / 436.3 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-07/0.007291, allocations: 0 / 436.3 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.007294, allocations: 7.938 kB / 436.3 MB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.007301, allocations: 0 / 436.3 MB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007302, allocations: 0 / 436.3 MB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007303, allocations: 0 / 436.3 MB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.007542, allocations: 320.3 kB / 436.6 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.007554, allocations: 15.84 kB / 436.7 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.007567, allocations: 3.938 kB / 436.7 MB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.007578, allocations: 4 kB / 436.7 MB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.007591, allocations: 0 / 436.7 MB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.007597, allocations: 8.031 kB / 436.7 MB, free: 6.727 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.188e-05/0.007639, allocations: 103.7 kB / 436.8 MB, free: 6.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007639, allocations: 0 / 436.8 MB, free: 6.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.007833, allocations: 28 kB / 436.8 MB, free: 6.598 MB / 410.7 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.0005076/0.00834, allocations: 0.8657 MB / 437.7 MB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.008599, allocations: 306.7 kB / 438 MB, free: 5.367 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0086, allocations: 0 / 438 MB, free: 5.367 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.009055, allocations: 189 kB / 438.2 MB, free: 5.164 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.009322, allocations: 18.36 kB / 438.2 MB, free: 5.152 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.01074, allocations: 2.009 MB / 440.2 MB, free: 3.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.429e-05/0.01079, allocations: 79.33 kB / 440.3 MB, free: 2.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.041e-05/0.01081, allocations: 3.984 kB / 440.3 MB, free: 2.918 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.01085, allocations: 20.5 kB / 440.3 MB, free: 2.898 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01085, allocations: 0 / 440.3 MB, free: 2.898 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1763/0.1872, allocations: 3.253 MB / 443.5 MB, free: 54.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.642/6.83, allocations: 6 kB / 443.5 MB, free: 54.57 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.834006086923182] Failed to read output from testmodel.py, exit status != 0: 6.911664859391749 6.922005515 6.915126122 Calling exit ...