Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001346/0.001346, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001576/0.001576, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.485/1.485, 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.1908/0.1908, allocations: 38.54 MB / 352.5 MB, free: 12.41 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_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.002172/0.002172, allocations: 63.89 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3719, allocations: 62.47 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.004036/0.3759, allocations: 2.14 MB / 0.544 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008792/0.3768, allocations: 0.5154 MB / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/0.3769, allocations: 0 / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.377, allocations: 15.22 kB / 0.5446 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.411e-05/0.3771, allocations: 25.66 kB / 0.5446 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.3775, allocations: 73.06 kB / 0.5446 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.3776, allocations: 62.02 kB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.3777, allocations: 1.375 kB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3778, allocations: 40.33 kB / 0.5447 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.3779, allocations: 33.59 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.3779, allocations: 0 / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.3781, allocations: 104.6 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.3781, allocations: 26.98 kB / 0.5449 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.3782, allocations: 28.05 kB / 0.5449 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3784, allocations: 122.9 kB / 0.545 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3784, allocations: 0 / 0.545 GB, free: 13.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3784, allocations: 0 / 0.545 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3784, allocations: 0 / 0.545 GB, free: 13.84 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004319/0.3788, allocations: 363.2 kB / 0.5454 GB, free: 13.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3789, allocations: 12.2 kB / 0.5454 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.3789, allocations: 47.23 kB / 0.5455 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.3789, allocations: 13.28 kB / 0.5455 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.3791, allocations: 135.9 kB / 0.5456 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3791, allocations: 384 / 0.5456 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.3791, allocations: 5.281 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.3793, allocations: 160.4 kB / 0.5458 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3794, allocations: 3.984 kB / 0.5458 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.3794, allocations: 5.031 kB / 0.5458 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3794, allocations: 0 / 0.5458 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3795, allocations: 133 kB / 0.5459 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.3797, allocations: 154.8 kB / 0.546 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.3798, allocations: 148.3 kB / 0.5462 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.38, allocations: 129.2 kB / 0.5463 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.38, allocations: 5.016 kB / 0.5463 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.38, allocations: 31.62 kB / 0.5463 GB, free: 12.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.132e-06/0.38, allocations: 1.156 kB / 0.5463 GB, free: 12.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005895/0.3806, allocations: 472.4 kB / 0.5468 GB, free: 12.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.956e-05/0.3807, allocations: 96.38 kB / 0.5469 GB, free: 12.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3808, allocations: 136.5 kB / 0.547 GB, free: 12.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.3808, allocations: 26.73 kB / 0.547 GB, free: 12.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.3809, allocations: 104 kB / 0.5471 GB, free: 12.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/0.381, allocations: 76.27 kB / 0.5472 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.381, allocations: 23.8 kB / 0.5472 GB, free: 12.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3812, allocations: 327.4 kB / 0.5475 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.3813, allocations: 125 kB / 0.5477 GB, free: 11.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3814, allocations: 128.6 kB / 0.5478 GB, free: 11.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.3817, allocations: 291.4 kB / 0.5481 GB, free: 11.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3817, allocations: 3.938 kB / 0.5481 GB, free: 11.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003339/0.3821, allocations: 326.3 kB / 0.5484 GB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.971e-05/0.3822, allocations: 64.47 kB / 0.5484 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3822, allocations: 1 kB / 0.5484 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3822, allocations: 4.062 kB / 0.5484 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3822, allocations: 0 / 0.5484 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3822, allocations: 1.188 kB / 0.5484 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.3822, allocations: 17.14 kB / 0.5485 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.3822, allocations: 4.5 kB / 0.5485 GB, free: 11.19 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.0001688/0.3824, allocations: 198.4 kB / 0.5487 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.3824, allocations: 15.75 kB / 0.5487 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.3825, allocations: 12.39 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3825, allocations: 0 / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3825, allocations: 1.156 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3825, allocations: 4 kB / 0.5487 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.3826, allocations: 160.1 kB / 0.5488 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3826, allocations: 1.031 kB / 0.5488 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3826, allocations: 0 / 0.5488 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3826, allocations: 3.984 kB / 0.5488 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3826, allocations: 5.281 kB / 0.5488 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3826, allocations: 0 / 0.5488 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3826, allocations: 0 / 0.5488 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.3832, allocations: 0.5189 MB / 0.5494 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.3833, allocations: 17 kB / 0.5494 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.3833, allocations: 3.75 kB / 0.5494 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.554e-05/0.3833, allocations: 12.06 kB / 0.5494 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.3833, allocations: 9.969 kB / 0.5494 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3834, allocations: 8.719 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.663e-05/0.3834, allocations: 104.8 kB / 0.5495 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3834, allocations: 1.125 kB / 0.5495 GB, free: 10.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.3837, allocations: 45.03 kB / 0.5495 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.000958/0.3846, allocations: 1.054 MB / 0.5506 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005937/0.3852, allocations: 0.5052 MB / 0.5511 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3852, allocations: 0 / 0.5511 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.3855, allocations: 298.4 kB / 0.5514 GB, free: 9.164 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.3858, allocations: 25.64 kB / 0.5514 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.3887, allocations: 2.792 MB / 0.5541 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.3888, allocations: 105.1 kB / 0.5542 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.405e-05/0.3889, allocations: 4 kB / 0.5542 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.3889, allocations: 27.52 kB / 0.5542 GB, free: 7.082 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3889, allocations: 4 kB / 0.5542 GB, free: 7.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.4205, allocations: 4.189 MB / 0.5583 GB, free: 3.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.7, allocations: 4 kB / 0.5583 GB, free: 3.004 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_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_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.544053197838366] Failed to read output from testmodel.py, exit status != 0: 11.803425431717187 11.818672357 11.437149991 Calling exit ...