Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.0007998/0.0007998, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009861/0.0009861, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9137/0.9137, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2533/0.2533, allocations: 29.4 MB / 290.1 MB, free: 2.457 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_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.842e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002647/0.002675, allocations: 2.14 MB / 432.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007303/0.003405, allocations: 0.5414 MB / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.003466, allocations: 0 / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.003667, allocations: 11.92 kB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.003772, allocations: 27.83 kB / 432.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.004149, allocations: 79.75 kB / 433 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.004273, allocations: 59.7 kB / 433.1 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.00432, allocations: 8 kB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.004498, allocations: 39.83 kB / 433.1 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.004546, allocations: 27.91 kB / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.004558, allocations: 0 / 433.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.0047, allocations: 99.72 kB / 433.2 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.00475, allocations: 35.84 kB / 433.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.004773, allocations: 15.88 kB / 433.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.004948, allocations: 127.7 kB / 433.4 MB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004951, allocations: 0 / 433.4 MB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.004952, allocations: 0 / 433.4 MB, free: 10.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004956, allocations: 0 / 433.4 MB, free: 10.37 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003066/0.005263, allocations: 367.3 kB / 433.8 MB, free: 9.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.005299, allocations: 15.98 kB / 433.8 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.005335, allocations: 42.73 kB / 433.8 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.005361, allocations: 12.84 kB / 433.9 MB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.005482, allocations: 130.3 kB / 434 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.00549, allocations: 384 / 434 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.005498, allocations: 4.375 kB / 434 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.005659, allocations: 163.6 kB / 434.1 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.005665, allocations: 0 / 434.1 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.005672, allocations: 0 / 434.1 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.005676, allocations: 0 / 434.1 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.005764, allocations: 125.5 kB / 434.3 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.005891, allocations: 148.7 kB / 434.4 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.005992, allocations: 140.2 kB / 434.5 MB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/0.006072, allocations: 133.6 kB / 434.7 MB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.006078, allocations: 0 / 434.7 MB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.006098, allocations: 38.44 kB / 434.7 MB, free: 8.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 5.81e-07/0.006099, allocations: 0 / 434.7 MB, free: 8.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004222/0.006521, allocations: 455 kB / 435.2 MB, free: 8.449 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.006576, allocations: 97.09 kB / 435.3 MB, free: 8.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.006679, allocations: 136.8 kB / 435.4 MB, free: 8.195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.006693, allocations: 25.7 kB / 435.4 MB, free: 8.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.006741, allocations: 92.62 kB / 435.5 MB, free: 8.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.006802, allocations: 83.22 kB / 435.6 MB, free: 7.988 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.006833, allocations: 25.7 kB / 435.6 MB, free: 7.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.006938, allocations: 330.8 kB / 435.9 MB, free: 7.625 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.00705, allocations: 121.5 kB / 436.1 MB, free: 7.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.007158, allocations: 121.7 kB / 436.2 MB, free: 7.375 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.007396, allocations: 290.2 kB / 436.5 MB, free: 7.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007398, allocations: 0 / 436.5 MB, free: 7.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000289/0.007687, allocations: 317.5 kB / 436.8 MB, free: 6.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.263e-05/0.00775, allocations: 65.66 kB / 436.8 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007755, allocations: 3.938 kB / 436.8 MB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.007768, allocations: 0 / 436.8 MB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.00777, allocations: 0 / 436.8 MB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.007776, allocations: 4 kB / 436.8 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.007811, allocations: 11.89 kB / 436.8 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.007833, allocations: 11.94 kB / 436.9 MB, free: 6.648 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 0.0001384/0.007971, allocations: 195.5 kB / 437 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.007993, allocations: 19.88 kB / 437.1 MB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.541e-05/0.008009, allocations: 9.281 kB / 437.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.008011, allocations: 0 / 437.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.008015, allocations: 0 / 437.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.008019, allocations: 3.938 kB / 437.1 MB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.008145, allocations: 168.6 kB / 437.2 MB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008146, allocations: 0 / 437.2 MB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.008147, allocations: 4 kB / 437.3 MB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.00815, allocations: 3.938 kB / 437.3 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.008164, allocations: 4 kB / 437.3 MB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.008166, allocations: 4 kB / 437.3 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008168, allocations: 0 / 437.3 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.008679, allocations: 0.4923 MB / 437.8 MB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.008703, allocations: 23.77 kB / 437.8 MB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.008724, allocations: 4 kB / 437.8 MB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.395e-05/0.008748, allocations: 4 kB / 437.8 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.008769, allocations: 0 / 437.8 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.008781, allocations: 8 kB / 437.8 MB, free: 5.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.008839, allocations: 99.27 kB / 437.9 MB, free: 5.523 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008839, allocations: 0 / 437.9 MB, free: 5.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003027/0.009142, allocations: 51.92 kB / 437.9 MB, free: 5.473 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.0008533/0.009995, allocations: 1.049 MB / 439 MB, free: 4.383 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.01045, allocations: 0.4908 MB / 439.5 MB, free: 3.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01046, allocations: 0 / 439.5 MB, free: 3.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.01063, allocations: 293 kB / 439.8 MB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.0108, allocations: 27 kB / 439.8 MB, free: 3.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.01261, allocations: 2.751 MB / 442.5 MB, free: 0.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.549e-05/0.01267, allocations: 113 kB / 442.7 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.893e-05/0.01269, allocations: 0 / 442.7 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.01273, allocations: 28.48 kB / 442.7 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of SimCode: time 9.91e-07/0.01273, allocations: 0 / 442.7 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1716/0.1843, allocations: 4.308 MB / 447 MB, free: 54.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/6.801, allocations: 10.39 kB / 447 MB, free: 54.01 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_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_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.808130367659032] Failed to read output from testmodel.py, exit status != 0: 6.883475456386805 6.891380881 6.884964889 Calling exit ...