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.001172/0.001172, allocations: 91.61 kB / 20.77 MB, free: 3.738 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.001067/0.001067, allocations: 166 kB / 24.06 MB, free: 460 kB / 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.8894/0.8894, allocations: 177.1 MB / 204.4 MB, free: 5.699 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.2296/0.2296, allocations: 29.41 MB / 290.2 MB, free: 2.453 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.683e-06/1.683e-06, allocations: 0 / 430.4 MB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.757e-05, allocations: 2.281 kB / 430.4 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002069/0.002086, allocations: 2.147 MB / 432.6 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005467/0.002633, allocations: 0.5376 MB / 433.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.002674, allocations: 0 / 433.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.0028, allocations: 15.86 kB / 433.1 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.002906, allocations: 27.83 kB / 433.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.003172, allocations: 79.73 kB / 433.2 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.003273, allocations: 59.7 kB / 433.3 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.00331, allocations: 4 kB / 433.3 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.003422, allocations: 39.83 kB / 433.3 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.078e-05/0.003463, allocations: 39.89 kB / 433.4 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.003471, allocations: 0 / 433.4 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.003606, allocations: 103.7 kB / 433.5 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.003645, allocations: 8 kB / 433.5 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.003667, allocations: 19.92 kB / 433.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.003804, allocations: 103.7 kB / 433.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003806, allocations: 0 / 433.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003807, allocations: 0 / 433.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.003812, allocations: 0 / 433.6 MB, free: 10.3 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.0003382/0.00415, allocations: 327.7 kB / 433.9 MB, free: 9.945 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.004201, allocations: 19.98 kB / 434 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.00423, allocations: 34.73 kB / 434 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.004261, allocations: 12.83 kB / 434 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.004402, allocations: 121.7 kB / 434.1 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-06/0.004408, allocations: 384 / 434.1 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.004417, allocations: 384 / 434.1 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.004541, allocations: 111.7 kB / 434.2 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.004547, allocations: 0 / 434.2 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.004554, allocations: 0 / 434.2 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004559, allocations: 0 / 434.2 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.118e-05/0.00461, allocations: 77.67 kB / 434.3 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.004713, allocations: 144.6 kB / 434.4 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.994e-05/0.004793, allocations: 96.19 kB / 434.5 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.00484, allocations: 82.56 kB / 434.6 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.004847, allocations: 4 kB / 434.6 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.004866, allocations: 34.5 kB / 434.7 MB, free: 9.094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 7.32e-07/0.004866, allocations: 0 / 434.7 MB, free: 9.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004958/0.005362, allocations: 290.8 kB / 434.9 MB, free: 8.785 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.005398, allocations: 85.11 kB / 435 MB, free: 8.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.005466, allocations: 121.8 kB / 435.1 MB, free: 8.555 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.005475, allocations: 25.7 kB / 435.2 MB, free: 8.523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.005506, allocations: 92.17 kB / 435.3 MB, free: 8.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.00554, allocations: 39.69 kB / 435.3 MB, free: 8.391 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.005563, allocations: 17.72 kB / 435.3 MB, free: 8.367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.005635, allocations: 322.8 kB / 435.6 MB, free: 8.043 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.914e-05/0.005684, allocations: 73.67 kB / 435.7 MB, free: 7.965 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.201e-05/0.005726, allocations: 77.67 kB / 435.8 MB, free: 7.883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.984e-05/0.005826, allocations: 172.2 kB / 435.9 MB, free: 7.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005827, allocations: 0 / 435.9 MB, free: 7.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001217/0.005949, allocations: 208.9 kB / 436.1 MB, free: 7.477 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.005985, allocations: 49.62 kB / 436.2 MB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00599, allocations: 0 / 436.2 MB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.006, allocations: 8.062 kB / 436.2 MB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.006002, allocations: 7.938 kB / 436.2 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.006007, allocations: 3.984 kB / 436.2 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.006026, allocations: 11.89 kB / 436.2 MB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.00604, allocations: 0 / 436.2 MB, free: 7.391 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 7.849e-05/0.006119, allocations: 167.5 kB / 436.4 MB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.006127, allocations: 11.89 kB / 436.4 MB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-06/0.006136, allocations: 4.438 kB / 436.4 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.006137, allocations: 0 / 436.4 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.006141, allocations: 4 kB / 436.4 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.006143, allocations: 4 kB / 436.4 MB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.291e-05/0.006205, allocations: 136.7 kB / 436.5 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.006206, allocations: 0 / 436.5 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.006207, allocations: 0 / 436.5 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.006208, allocations: 3.938 kB / 436.6 MB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.006217, allocations: 4 kB / 436.6 MB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4e-07/0.006217, allocations: 0 / 436.6 MB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-07/0.006217, allocations: 0 / 436.6 MB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.006413, allocations: 313.2 kB / 436.9 MB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.006421, allocations: 19.78 kB / 436.9 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.006435, allocations: 11.92 kB / 436.9 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-06/0.006443, allocations: 4.031 kB / 436.9 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.006459, allocations: 4 kB / 436.9 MB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.006465, allocations: 8 kB / 436.9 MB, free: 6.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.246e-05/0.006498, allocations: 95.2 kB / 437 MB, free: 6.527 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006498, allocations: 0 / 437 MB, free: 6.527 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.006642, allocations: 28 kB / 437 MB, free: 6.5 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.0004058/0.007048, allocations: 0.8538 MB / 437.9 MB, free: 5.605 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.007269, allocations: 318.5 kB / 438.2 MB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.00727, allocations: 0 / 438.2 MB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.007363, allocations: 189.1 kB / 438.4 MB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.00752, allocations: 7.984 kB / 438.4 MB, free: 5.059 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.008705, allocations: 2.002 MB / 440.4 MB, free: 2.934 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.81e-05/0.008753, allocations: 79.33 kB / 440.5 MB, free: 2.836 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.615e-05/0.008769, allocations: 4 kB / 440.5 MB, free: 2.832 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.008798, allocations: 20.48 kB / 440.5 MB, free: 2.812 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.008799, allocations: 96 / 440.5 MB, free: 2.812 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1678/0.1766, allocations: 3.248 MB / 443.7 MB, free: 54.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.717/6.894, allocations: 7.922 kB / 443.7 MB, free: 54.53 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.827678518369794] Failed to read output from testmodel.py, exit status != 0: 6.969804563559592 6.979763819 6.97369482 Calling exit ...