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.001316/0.001316, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002227/0.002227, allocations: 211 kB / 23.73 MB, free: 4.531 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1853/0.1853, allocations: 38.54 MB / 352.5 MB, free: 12.31 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_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: 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.002075/0.002075, allocations: 63.89 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3763, allocations: 62.48 MB / 0.542 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.004147/0.3804, allocations: 2.128 MB / 0.544 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009503/0.3814, allocations: 0.5217 MB / 0.5445 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/0.3814, allocations: 1.156 kB / 0.5445 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.3816, allocations: 10.14 kB / 0.5446 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.3817, allocations: 38.81 kB / 0.5446 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.3822, allocations: 72.84 kB / 0.5447 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.3823, allocations: 58.45 kB / 0.5447 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.3824, allocations: 2.5 kB / 0.5447 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3825, allocations: 36.72 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.663e-05/0.3826, allocations: 45.91 kB / 0.5448 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.3826, allocations: 1.469 kB / 0.5448 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.3829, allocations: 99.45 kB / 0.5449 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.3829, allocations: 13.77 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.3829, allocations: 9.656 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3831, allocations: 100.9 kB / 0.545 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3831, allocations: 0 / 0.545 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3831, allocations: 1.25 kB / 0.545 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3832, allocations: 0 / 0.545 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004644/0.3836, allocations: 309.5 kB / 0.5453 GB, free: 13.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3837, allocations: 18.53 kB / 0.5453 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.3837, allocations: 39.5 kB / 0.5454 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.3838, allocations: 7.266 kB / 0.5454 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.3839, allocations: 121.3 kB / 0.5455 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.384, allocations: 1.531 kB / 0.5455 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.384, allocations: 9.281 kB / 0.5455 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3842, allocations: 85.89 kB / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3842, allocations: 0 / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3842, allocations: 1.312 kB / 0.5456 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3842, allocations: 7.969 kB / 0.5456 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.604e-05/0.3843, allocations: 62.97 kB / 0.5456 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.3845, allocations: 139.6 kB / 0.5458 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.3846, allocations: 77.48 kB / 0.5459 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.3847, allocations: 70.47 kB / 0.5459 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.3847, allocations: 1.312 kB / 0.5459 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3847, allocations: 35.94 kB / 0.546 GB, free: 12.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.3847, allocations: 0 / 0.546 GB, free: 12.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003734/0.3851, allocations: 234.5 kB / 0.5462 GB, free: 12.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.3852, allocations: 87.97 kB / 0.5463 GB, free: 12.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3853, allocations: 118.2 kB / 0.5464 GB, free: 12.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3853, allocations: 27.08 kB / 0.5464 GB, free: 12.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.3854, allocations: 85.55 kB / 0.5465 GB, free: 12.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.3854, allocations: 31.86 kB / 0.5465 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.3854, allocations: 19.22 kB / 0.5465 GB, free: 12.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3856, allocations: 321.6 kB / 0.5468 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/0.3857, allocations: 58.44 kB / 0.5469 GB, free: 12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.3857, allocations: 62.42 kB / 0.547 GB, free: 11.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3859, allocations: 139.6 kB / 0.5471 GB, free: 11.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3859, allocations: 3.938 kB / 0.5471 GB, free: 11.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002029/0.3861, allocations: 167.4 kB / 0.5472 GB, free: 11.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.3862, allocations: 41.34 kB / 0.5473 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3862, allocations: 0 / 0.5473 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.3862, allocations: 5.281 kB / 0.5473 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.3862, allocations: 0 / 0.5473 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3862, allocations: 1.156 kB / 0.5473 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.3862, allocations: 10.14 kB / 0.5473 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.3863, allocations: 2.219 kB / 0.5473 GB, free: 11.68 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.0001522/0.3864, allocations: 162.2 kB / 0.5475 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.3864, allocations: 8.609 kB / 0.5475 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.56e-05/0.3864, allocations: 5.438 kB / 0.5475 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3864, allocations: 0 / 0.5475 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3864, allocations: 1.094 kB / 0.5475 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3865, allocations: 4 kB / 0.5475 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.3866, allocations: 138 kB / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3866, allocations: 0 / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.3866, allocations: 0 / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3866, allocations: 5.344 kB / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3866, allocations: 2.5 kB / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.3866, allocations: 0 / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3866, allocations: 0 / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.3869, allocations: 267.8 kB / 0.5479 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.3869, allocations: 2.281 kB / 0.5479 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.387, allocations: 6.75 kB / 0.5479 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.658e-05/0.387, allocations: 5.219 kB / 0.5479 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.387, allocations: 1.406 kB / 0.5479 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.387, allocations: 2.812 kB / 0.5479 GB, free: 11.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.937e-05/0.3871, allocations: 96.3 kB / 0.548 GB, free: 11.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3871, allocations: 0 / 0.548 GB, free: 11.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000237/0.3873, allocations: 27.38 kB / 0.548 GB, free: 11.04 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.0007225/0.388, allocations: 0.7938 MB / 0.5488 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.3883, allocations: 248 kB / 0.549 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3884, allocations: 0 / 0.549 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.3885, allocations: 153 kB / 0.5492 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3888, allocations: 8.719 kB / 0.5492 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.3906, allocations: 1.755 MB / 0.5509 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.607e-05/0.3907, allocations: 79.47 kB / 0.551 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.47e-05/0.3907, allocations: 1.312 kB / 0.551 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.3908, allocations: 11.44 kB / 0.551 GB, free: 8.441 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3908, allocations: 1.312 kB / 0.551 GB, free: 8.441 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.4224, allocations: 2.74 MB / 0.5537 GB, free: 6.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.82, allocations: 12.39 kB / 0.5537 GB, free: 6.789 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.668335794005543] Failed to read output from testmodel.py, exit status != 0: 11.928448150865734 11.958414206 11.569912693 Calling exit ...