Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.0009437/0.0009437, 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.0011/0.0011, allocations: 170 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.9247/0.9247, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2203/0.2203, 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_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.401e-05, allocations: 6.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002867/0.002891, allocations: 2.135 MB / 432.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006079/0.003499, allocations: 0.5453 MB / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.003545, allocations: 0 / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.003757, allocations: 15.92 kB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/0.003838, allocations: 27.77 kB / 432.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.004161, allocations: 67.81 kB / 433 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.004269, allocations: 67.7 kB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.004314, allocations: 4 kB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.004456, allocations: 43.77 kB / 433.1 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.004504, allocations: 39.88 kB / 433.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.004514, allocations: 0 / 433.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.004674, allocations: 95.73 kB / 433.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.004721, allocations: 15.92 kB / 433.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.004745, allocations: 11.94 kB / 433.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.004903, allocations: 99.73 kB / 433.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.004906, allocations: 0 / 433.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004908, allocations: 0 / 433.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.004912, allocations: 0 / 433.4 MB, free: 10.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003243/0.005236, allocations: 318.6 kB / 433.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.005278, allocations: 19.98 kB / 433.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.005306, allocations: 30.75 kB / 433.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.005336, allocations: 12.89 kB / 433.8 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.00546, allocations: 113.7 kB / 433.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.005468, allocations: 384 / 433.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.005476, allocations: 4.375 kB / 433.9 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.005609, allocations: 91.69 kB / 434 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005616, allocations: 4 kB / 434 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.005625, allocations: 0 / 434 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005629, allocations: 0 / 434 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.601e-05/0.005675, allocations: 61.62 kB / 434 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.005795, allocations: 136.8 kB / 434.2 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.797e-05/0.005863, allocations: 76.25 kB / 434.2 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.005903, allocations: 62.58 kB / 434.3 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-06/0.00591, allocations: 0 / 434.3 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.005932, allocations: 38.5 kB / 434.3 MB, free: 9.301 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.005933, allocations: 0 / 434.3 MB, free: 9.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002368/0.00617, allocations: 242.7 kB / 434.6 MB, free: 9.039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.006211, allocations: 85.11 kB / 434.7 MB, free: 8.938 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/0.006282, allocations: 113.8 kB / 434.8 MB, free: 8.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.006295, allocations: 29.69 kB / 434.8 MB, free: 8.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.006329, allocations: 88.55 kB / 434.9 MB, free: 8.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.006366, allocations: 23.75 kB / 434.9 MB, free: 8.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.006398, allocations: 25.7 kB / 434.9 MB, free: 8.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.006485, allocations: 314.8 kB / 435.2 MB, free: 8.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.811e-05/0.006533, allocations: 65.61 kB / 435.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.006568, allocations: 61.69 kB / 435.4 MB, free: 8.184 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.006663, allocations: 136.5 kB / 435.5 MB, free: 8.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006665, allocations: 3.938 kB / 435.5 MB, free: 8.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001256/0.006791, allocations: 168.9 kB / 435.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.006836, allocations: 45.69 kB / 435.7 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.006841, allocations: 0 / 435.7 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.006855, allocations: 4.062 kB / 435.7 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.006856, allocations: 4 kB / 435.7 MB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.006863, allocations: 7.984 kB / 435.7 MB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.006884, allocations: 3.938 kB / 435.7 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.0069, allocations: 4 kB / 435.7 MB, free: 7.773 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.54e-05/0.006976, allocations: 151.5 kB / 435.9 MB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.006987, allocations: 11.89 kB / 435.9 MB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.301e-05/0.007, allocations: 12.42 kB / 435.9 MB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.007003, allocations: 0 / 435.9 MB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.007008, allocations: 0 / 435.9 MB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.007011, allocations: 4 kB / 435.9 MB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.601e-05/0.007087, allocations: 132.8 kB / 436 MB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.007088, allocations: 0 / 436 MB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.007088, allocations: 0 / 436 MB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007091, allocations: 3.938 kB / 436 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.007099, allocations: 0 / 436 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.0071, allocations: 4 kB / 436 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.007103, allocations: 3.938 kB / 436 MB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.007291, allocations: 248.4 kB / 436.3 MB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.007303, allocations: 15.88 kB / 436.3 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.007318, allocations: 11.92 kB / 436.3 MB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-06/0.007327, allocations: 4.031 kB / 436.3 MB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.007342, allocations: 0 / 436.3 MB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.007348, allocations: 4 kB / 436.3 MB, free: 7.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.638e-05/0.007384, allocations: 91.27 kB / 436.4 MB, free: 7 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007384, allocations: 0 / 436.4 MB, free: 7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.007564, allocations: 28.22 kB / 436.4 MB, free: 6.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.000487/0.008051, allocations: 0.7952 MB / 437.2 MB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.008264, allocations: 238.7 kB / 437.5 MB, free: 5.879 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008265, allocations: 3.938 kB / 437.5 MB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.008343, allocations: 153.2 kB / 437.6 MB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.008608, allocations: 11.98 kB / 437.6 MB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.01019, allocations: 1.744 MB / 439.4 MB, free: 3.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.01025, allocations: 75.33 kB / 439.4 MB, free: 3.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.185e-05/0.01027, allocations: 4 kB / 439.5 MB, free: 3.734 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.01031, allocations: 12.5 kB / 439.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01031, allocations: 96 / 439.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.02996, allocations: 2.869 MB / 442.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/6.744, allocations: 4.047 kB / 442.3 MB, free: 0.9648 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_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_matrixEqCirc0.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.851100678555667] Failed to read output from testmodel.py, exit status != 0: 6.964571592397988 6.975368626 6.965708074 Calling exit ...