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.0008117/0.0008117, 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.0008672/0.0008672, 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.8711/0.8711, 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.2485/0.2485, allocations: 29.4 MB / 290.1 MB, free: 2.461 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_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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.917e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002308/0.002327, allocations: 2.145 MB / 432.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005159/0.002843, allocations: 0.5336 MB / 432.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.002879, allocations: 0 / 432.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.002995, allocations: 11.92 kB / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.003065, allocations: 31.89 kB / 432.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.003349, allocations: 75.69 kB / 433 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.003441, allocations: 63.7 kB / 433.1 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.003477, allocations: 4 kB / 433.1 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.003591, allocations: 43.83 kB / 433.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.718e-05/0.003628, allocations: 27.89 kB / 433.1 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.003636, allocations: 0 / 433.1 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.003766, allocations: 99.72 kB / 433.2 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.003816, allocations: 43.86 kB / 433.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.00384, allocations: 23.81 kB / 433.3 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.003992, allocations: 143.5 kB / 433.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003994, allocations: 0 / 433.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003995, allocations: 0 / 433.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.003997, allocations: 0 / 433.5 MB, free: 10.34 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003054/0.004303, allocations: 411.1 kB / 433.9 MB, free: 9.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.004337, allocations: 15.98 kB / 433.9 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.00437, allocations: 46.73 kB / 433.9 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.004395, allocations: 24.72 kB / 433.9 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.004515, allocations: 134.1 kB / 434.1 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.004523, allocations: 12.31 kB / 434.1 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.00453, allocations: 4.125 kB / 434.1 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.004706, allocations: 220.3 kB / 434.3 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-06/0.004711, allocations: 0 / 434.3 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.004718, allocations: 0 / 434.3 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.004721, allocations: 0 / 434.3 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.004831, allocations: 186 kB / 434.5 MB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.004941, allocations: 165.2 kB / 434.6 MB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.005068, allocations: 204.5 kB / 434.8 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.005175, allocations: 198.8 kB / 435 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.005181, allocations: 0 / 435 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.005199, allocations: 34.56 kB / 435.1 MB, free: 8.562 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 6.61e-07/0.005199, allocations: 4 kB / 435.1 MB, free: 8.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004717/0.005671, allocations: 0.6789 MB / 435.8 MB, free: 7.855 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.005712, allocations: 109.1 kB / 435.9 MB, free: 7.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.005795, allocations: 149.6 kB / 436 MB, free: 7.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.005804, allocations: 25.7 kB / 436 MB, free: 7.539 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.005839, allocations: 104.7 kB / 436.1 MB, free: 7.434 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.29e-05/0.005901, allocations: 130.8 kB / 436.3 MB, free: 7.305 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.005931, allocations: 29.7 kB / 436.3 MB, free: 7.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.006008, allocations: 338.8 kB / 436.6 MB, free: 6.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.006111, allocations: 185.7 kB / 436.8 MB, free: 6.742 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.9e-05/0.00621, allocations: 185.6 kB / 437 MB, free: 6.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.006454, allocations: 433.3 kB / 437.4 MB, free: 6.117 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.006456, allocations: 0 / 437.4 MB, free: 6.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002699/0.006726, allocations: 448.8 kB / 437.8 MB, free: 5.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.006778, allocations: 90.41 kB / 437.9 MB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.006781, allocations: 0 / 437.9 MB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.00679, allocations: 0 / 437.9 MB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.006791, allocations: 0 / 437.9 MB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.006795, allocations: 7.938 kB / 437.9 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.006825, allocations: 19.83 kB / 438 MB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.006843, allocations: 16 kB / 438 MB, free: 5.523 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.0001127/0.006956, allocations: 235.4 kB / 438.2 MB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.006973, allocations: 23.86 kB / 438.2 MB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.39e-05/0.006987, allocations: 9.969 kB / 438.2 MB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006988, allocations: 3.938 kB / 438.2 MB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.006991, allocations: 0 / 438.2 MB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.006993, allocations: 0 / 438.2 MB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.788e-05/0.007081, allocations: 188.5 kB / 438.4 MB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.007082, allocations: 0 / 438.4 MB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.007082, allocations: 4 kB / 438.4 MB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.007083, allocations: 4 kB / 438.4 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.007095, allocations: 4 kB / 438.4 MB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.007095, allocations: 0 / 438.4 MB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.007097, allocations: 4 kB / 438.4 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.007605, allocations: 0.7576 MB / 439.2 MB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.007622, allocations: 27.77 kB / 439.2 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.007638, allocations: 4 kB / 439.2 MB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.713e-05/0.007655, allocations: 11.94 kB / 439.2 MB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.007675, allocations: 8 kB / 439.3 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.007685, allocations: 4 kB / 439.3 MB, free: 4.148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.632e-05/0.007731, allocations: 114.4 kB / 439.4 MB, free: 4.039 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007731, allocations: 4.031 kB / 439.4 MB, free: 4.035 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.007895, allocations: 63.94 kB / 439.4 MB, free: 3.973 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.0007438/0.008638, allocations: 1.31 MB / 440.7 MB, free: 2.621 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.00915, allocations: 0.7445 MB / 441.5 MB, free: 1.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009151, allocations: 0 / 441.5 MB, free: 1.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.009409, allocations: 432.9 kB / 441.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.009581, allocations: 23.98 kB / 441.9 MB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.151/0.1605, allocations: 3.733 MB / 445.7 MB, free: 53.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/0.1606, allocations: 132 kB / 445.8 MB, free: 53.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.1606, allocations: 4.594 kB / 445.8 MB, free: 53.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.1607, allocations: 39.78 kB / 445.8 MB, free: 53.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1607, allocations: 0 / 445.8 MB, free: 53.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.1778, allocations: 5.603 MB / 451.4 MB, free: 52.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.872, allocations: 7.797 kB / 451.5 MB, free: 52.49 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.779590705409646] Failed to read output from testmodel.py, exit status != 0: 6.947992720641196 6.955035952 6.949762678 Calling exit ...