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.001344/0.001344, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001449/0.001449, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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.2141/0.2141, allocations: 38.54 MB / 352.5 MB, free: 12.5 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 59.91 kB / 492.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3352, allocations: 62.47 MB / 0.542 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003431/0.3386, allocations: 2.155 MB / 0.5441 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.3396, allocations: 0.5624 MB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.3396, allocations: 0 / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.3398, allocations: 9.703 kB / 0.5447 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.3399, allocations: 31.03 kB / 0.5447 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.3403, allocations: 77.55 kB / 0.5448 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3405, allocations: 73.05 kB / 0.5448 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.3405, allocations: 2.188 kB / 0.5448 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3406, allocations: 36.34 kB / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.3407, allocations: 28.08 kB / 0.5449 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3407, allocations: 10.28 kB / 0.5449 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.341, allocations: 119.2 kB / 0.545 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.3411, allocations: 46.2 kB / 0.5451 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.3411, allocations: 42.56 kB / 0.5451 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.3414, allocations: 148.5 kB / 0.5453 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3414, allocations: 1.375 kB / 0.5453 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3414, allocations: 0 / 0.5453 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3414, allocations: 3.938 kB / 0.5453 GB, free: 13.88 MB / 398.1 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.0006876/0.3421, allocations: 418 kB / 0.5457 GB, free: 13.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/0.3422, allocations: 16.83 kB / 0.5457 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.847e-05/0.3423, allocations: 49.36 kB / 0.5457 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.3424, allocations: 18.2 kB / 0.5457 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3426, allocations: 145.7 kB / 0.5459 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3426, allocations: 1.156 kB / 0.5459 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3426, allocations: 1 kB / 0.5459 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.3428, allocations: 122.4 kB / 0.546 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3429, allocations: 4 kB / 0.546 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3429, allocations: 1.344 kB / 0.546 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3429, allocations: 0 / 0.546 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.343, allocations: 97 kB / 0.5461 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.3433, allocations: 174.4 kB / 0.5463 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3434, allocations: 108.2 kB / 0.5464 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3436, allocations: 102.9 kB / 0.5465 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.3436, allocations: 0 / 0.5465 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.3436, allocations: 31.84 kB / 0.5465 GB, free: 12.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 7.31e-07/0.3436, allocations: 0 / 0.5465 GB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007991/0.3444, allocations: 486.2 kB / 0.547 GB, free: 12.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/0.3445, allocations: 103.9 kB / 0.5471 GB, free: 12.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.3447, allocations: 147.8 kB / 0.5472 GB, free: 12.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3447, allocations: 26.86 kB / 0.5472 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.3448, allocations: 99.97 kB / 0.5473 GB, free: 12.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.3449, allocations: 143.1 kB / 0.5475 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.345, allocations: 35.3 kB / 0.5475 GB, free: 12.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3452, allocations: 337.3 kB / 0.5478 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3453, allocations: 96.91 kB / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.3454, allocations: 92.59 kB / 0.548 GB, free: 11.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.3459, allocations: 370.5 kB / 0.5483 GB, free: 11.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3459, allocations: 1 kB / 0.5483 GB, free: 11.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004562/0.3463, allocations: 322.2 kB / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.3465, allocations: 86.02 kB / 0.5487 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.3465, allocations: 3.984 kB / 0.5487 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.3465, allocations: 4.984 kB / 0.5487 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/0.3465, allocations: 3.938 kB / 0.5487 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3465, allocations: 5.156 kB / 0.5488 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.3466, allocations: 19.66 kB / 0.5488 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.3466, allocations: 7.125 kB / 0.5488 GB, free: 11.34 MB / 398.1 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.0002806/0.3469, allocations: 233.1 kB / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.347, allocations: 24.58 kB / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.347, allocations: 8.844 kB / 0.549 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.347, allocations: 1.312 kB / 0.549 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.347, allocations: 0 / 0.549 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.347, allocations: 0 / 0.549 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.3472, allocations: 202.9 kB / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3472, allocations: 0 / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.3472, allocations: 0 / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3472, allocations: 1.344 kB / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.3473, allocations: 6.344 kB / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3473, allocations: 0 / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3473, allocations: 0 / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.3484, allocations: 0.9126 MB / 0.5501 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.3484, allocations: 25.55 kB / 0.5502 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.3485, allocations: 13.67 kB / 0.5502 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.3485, allocations: 10.47 kB / 0.5502 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.3486, allocations: 7.062 kB / 0.5502 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3486, allocations: 5.75 kB / 0.5502 GB, free: 10.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.592e-05/0.3487, allocations: 119.4 kB / 0.5503 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3487, allocations: 0 / 0.5503 GB, free: 10.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.349, allocations: 61.34 kB / 0.5504 GB, free: 10.4 MB / 398.1 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.001738/0.3507, allocations: 1.454 MB / 0.5518 GB, free: 9.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.352, allocations: 0.8245 MB / 0.5526 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.352, allocations: 0 / 0.5526 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007534/0.3528, allocations: 0.5973 MB / 0.5532 GB, free: 8.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3531, allocations: 31.78 kB / 0.5532 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.3571, allocations: 3.465 MB / 0.5566 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3575, allocations: 0.7478 MB / 0.5573 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.512e-05/0.3576, allocations: 0 / 0.5573 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.3576, allocations: 39.42 kB / 0.5573 GB, free: 4.27 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3576, allocations: 0 / 0.5573 GB, free: 4.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.391, allocations: 5.207 MB / 0.5624 GB, free: 15.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.49, allocations: 3.938 kB / 0.5624 GB, free: 15.19 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.388221998997324] Failed to read output from testmodel.py, exit status != 0: 11.595895421000023 11.615035138 11.268964323 Calling exit ...