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.001331/0.001331, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001579/0.001579, allocations: 210.3 kB / 23.73 MB, free: 4.379 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.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1907/0.1907, allocations: 38.55 MB / 352.5 MB, free: 12.32 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_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: 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.002193/0.002193, allocations: 71.88 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3912, allocations: 62.47 MB / 0.542 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.005475/0.3966, allocations: 2.133 MB / 0.544 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3979, allocations: 0.5096 MB / 0.5445 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.398, allocations: 5.188 kB / 0.5445 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.3982, allocations: 13.83 kB / 0.5446 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.3983, allocations: 26.55 kB / 0.5446 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.3988, allocations: 76.53 kB / 0.5447 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.399, allocations: 69.88 kB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.3991, allocations: 1.969 kB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.3993, allocations: 37.59 kB / 0.5448 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3994, allocations: 31.95 kB / 0.5448 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.3994, allocations: 1.375 kB / 0.5448 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.3996, allocations: 109.2 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.3997, allocations: 15.2 kB / 0.5449 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.3997, allocations: 19.03 kB / 0.5449 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.4, allocations: 108.3 kB / 0.545 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4, allocations: 0 / 0.545 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4, allocations: 1.094 kB / 0.545 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.4, allocations: 0 / 0.545 GB, free: 13.85 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005864/0.4006, allocations: 330.8 kB / 0.5453 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/0.4006, allocations: 13.8 kB / 0.5454 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.172e-05/0.4007, allocations: 37.33 kB / 0.5454 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.4007, allocations: 15.58 kB / 0.5454 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.401, allocations: 125.3 kB / 0.5455 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.401, allocations: 5.688 kB / 0.5455 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.401, allocations: 9.312 kB / 0.5455 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.4012, allocations: 105.9 kB / 0.5456 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4012, allocations: 3.984 kB / 0.5456 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.4012, allocations: 0 / 0.5456 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4012, allocations: 0 / 0.5456 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.4014, allocations: 77.42 kB / 0.5457 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.4016, allocations: 134.4 kB / 0.5459 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.4018, allocations: 101.2 kB / 0.5459 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.4019, allocations: 85.41 kB / 0.546 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.4019, allocations: 1.312 kB / 0.546 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.4019, allocations: 32 kB / 0.5461 GB, free: 12.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.402, allocations: 0 / 0.5461 GB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005795/0.4025, allocations: 290 kB / 0.5463 GB, free: 12.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.4026, allocations: 89.64 kB / 0.5464 GB, free: 12.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.4028, allocations: 117.9 kB / 0.5465 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.4028, allocations: 26.83 kB / 0.5466 GB, free: 12.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.4029, allocations: 94.34 kB / 0.5467 GB, free: 12.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.4029, allocations: 44.22 kB / 0.5467 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.403, allocations: 16.59 kB / 0.5467 GB, free: 12.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.4032, allocations: 334.3 kB / 0.547 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.4033, allocations: 76.64 kB / 0.5471 GB, free: 11.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4034, allocations: 82.08 kB / 0.5472 GB, free: 11.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.4037, allocations: 175 kB / 0.5473 GB, free: 11.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4037, allocations: 0 / 0.5473 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003409/0.404, allocations: 211.2 kB / 0.5475 GB, free: 11.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.286e-05/0.4041, allocations: 53.39 kB / 0.5476 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4041, allocations: 0 / 0.5476 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4041, allocations: 0 / 0.5476 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.4041, allocations: 1.094 kB / 0.5476 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4041, allocations: 4.062 kB / 0.5476 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.4042, allocations: 7.5 kB / 0.5476 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.4042, allocations: 6.781 kB / 0.5476 GB, free: 11.54 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.0002066/0.4044, allocations: 168.3 kB / 0.5478 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.4044, allocations: 13.62 kB / 0.5478 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.4045, allocations: 5.438 kB / 0.5478 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4045, allocations: 1.156 kB / 0.5478 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4045, allocations: 3.984 kB / 0.5478 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.4045, allocations: 1.188 kB / 0.5478 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.4047, allocations: 139.5 kB / 0.5479 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4047, allocations: 9.469 kB / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.4047, allocations: 0 / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4047, allocations: 0 / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.4047, allocations: 2.469 kB / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4047, allocations: 1.656 kB / 0.5479 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.495e-05/0.4047, allocations: 7.984 kB / 0.548 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.4053, allocations: 318.8 kB / 0.5483 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.4053, allocations: 10.14 kB / 0.5483 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.4053, allocations: 3.375 kB / 0.5483 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.202e-05/0.4053, allocations: 2.188 kB / 0.5483 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.4054, allocations: 8.969 kB / 0.5483 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.4054, allocations: 7.438 kB / 0.5483 GB, free: 10.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.749e-05/0.4055, allocations: 93.36 kB / 0.5484 GB, free: 10.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4055, allocations: 1.344 kB / 0.5484 GB, free: 10.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004542/0.4059, allocations: 31.56 kB / 0.5484 GB, free: 10.87 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.00107/0.407, allocations: 0.8571 MB / 0.5492 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005519/0.4076, allocations: 307.5 kB / 0.5495 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4076, allocations: 1.125 kB / 0.5495 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.4078, allocations: 196.1 kB / 0.5497 GB, free: 9.805 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.4082, allocations: 23.73 kB / 0.5498 GB, free: 9.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.4113, allocations: 2.01 MB / 0.5517 GB, free: 8.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.4114, allocations: 83.94 kB / 0.5518 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.913e-05/0.4114, allocations: 1.312 kB / 0.5518 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.4114, allocations: 20.86 kB / 0.5518 GB, free: 8.094 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4115, allocations: 3.938 kB / 0.5518 GB, free: 8.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.4496, allocations: 3.191 MB / 0.5549 GB, free: 6.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.51, allocations: 5.109 kB / 0.5549 GB, free: 6.227 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.455968950991519] Failed to read output from testmodel.py, exit status != 0: 11.61867982900003 11.636612261 11.23341529 Calling exit ...