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.001343/0.001343, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00149/0.00149, allocations: 211.6 kB / 23.73 MB, free: 4.523 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1933/0.1933, allocations: 38.55 MB / 352.5 MB, free: 12.4 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.002109/0.002109, allocations: 71.89 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3788, allocations: 62.46 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.004369/0.3832, allocations: 2.132 MB / 0.544 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3842, allocations: 0.5221 MB / 0.5445 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.3843, allocations: 1.406 kB / 0.5445 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.3845, allocations: 9.391 kB / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.3846, allocations: 37.83 kB / 0.5446 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.385, allocations: 81.84 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3852, allocations: 65.95 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.3852, allocations: 1.812 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.3854, allocations: 35.94 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.3854, allocations: 30.67 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3854, allocations: 0 / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.3857, allocations: 108 kB / 0.5449 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.3857, allocations: 27.11 kB / 0.5449 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.3858, allocations: 27.92 kB / 0.5449 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.386, allocations: 130.3 kB / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.386, allocations: 0 / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.386, allocations: 1.375 kB / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.3861, allocations: 0 / 0.5451 GB, free: 13.82 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.0005884/0.3866, allocations: 366 kB / 0.5454 GB, free: 13.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.3867, allocations: 13.58 kB / 0.5454 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/0.3868, allocations: 46.8 kB / 0.5455 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.3868, allocations: 11.59 kB / 0.5455 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.387, allocations: 128 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.387, allocations: 1.75 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3871, allocations: 9.312 kB / 0.5456 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.3873, allocations: 164.3 kB / 0.5458 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3873, allocations: 1.156 kB / 0.5458 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3873, allocations: 3.938 kB / 0.5458 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3873, allocations: 0 / 0.5458 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.3875, allocations: 125.2 kB / 0.5459 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.3877, allocations: 150.9 kB / 0.546 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3879, allocations: 148.6 kB / 0.5462 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.388, allocations: 132.5 kB / 0.5463 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.388, allocations: 3.938 kB / 0.5463 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.3881, allocations: 41.28 kB / 0.5464 GB, free: 12.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.3881, allocations: 4 kB / 0.5464 GB, free: 12.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006375/0.3887, allocations: 465 kB / 0.5468 GB, free: 12.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.3888, allocations: 100.1 kB / 0.5469 GB, free: 12.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.3889, allocations: 133 kB / 0.547 GB, free: 12.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3889, allocations: 25.7 kB / 0.5471 GB, free: 12.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.389, allocations: 95.78 kB / 0.5471 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.001e-05/0.3891, allocations: 72.94 kB / 0.5472 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.3891, allocations: 27.83 kB / 0.5472 GB, free: 12.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3893, allocations: 323.5 kB / 0.5475 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3894, allocations: 129.2 kB / 0.5477 GB, free: 11.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3895, allocations: 128.5 kB / 0.5478 GB, free: 11.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.3898, allocations: 298.6 kB / 0.5481 GB, free: 11.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3898, allocations: 3.938 kB / 0.5481 GB, free: 11.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003631/0.3902, allocations: 318.7 kB / 0.5484 GB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/0.3903, allocations: 68.59 kB / 0.5484 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3903, allocations: 0 / 0.5484 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3903, allocations: 5.266 kB / 0.5485 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3903, allocations: 0 / 0.5485 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3903, allocations: 1.344 kB / 0.5485 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.3903, allocations: 20.64 kB / 0.5485 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.3904, allocations: 4.094 kB / 0.5485 GB, free: 11.18 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.0002053/0.3906, allocations: 198.6 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.3906, allocations: 16.91 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/0.3906, allocations: 8.062 kB / 0.5487 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3906, allocations: 0 / 0.5487 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3906, allocations: 0 / 0.5487 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3906, allocations: 0.9062 kB / 0.5487 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.3908, allocations: 172 kB / 0.5489 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3908, allocations: 3.938 kB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.3908, allocations: 1.344 kB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3908, allocations: 0 / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3908, allocations: 8.094 kB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3908, allocations: 1.375 kB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3908, allocations: 0 / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.3915, allocations: 0.5192 MB / 0.5494 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.3915, allocations: 14.84 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3916, allocations: 4.125 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.515e-05/0.3916, allocations: 4.094 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.3916, allocations: 6.375 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.3916, allocations: 4.125 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.369e-05/0.3917, allocations: 103.1 kB / 0.5495 GB, free: 10.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3917, allocations: 32 / 0.5495 GB, free: 10.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.392, allocations: 54.09 kB / 0.5496 GB, free: 10.39 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.0009517/0.3929, allocations: 1.054 MB / 0.5506 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005705/0.3935, allocations: 0.5014 MB / 0.5511 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.3935, allocations: 1.469 kB / 0.5511 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.3938, allocations: 298.2 kB / 0.5514 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.394, allocations: 17.97 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.002883/0.3969, allocations: 2.802 MB / 0.5541 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.397, allocations: 104.5 kB / 0.5542 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.507e-05/0.3971, allocations: 4 kB / 0.5542 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.3971, allocations: 31.42 kB / 0.5543 GB, free: 7.074 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3971, allocations: 0 / 0.5543 GB, free: 7.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.4294, allocations: 4.278 MB / 0.5584 GB, free: 2.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.58, allocations: 4 kB / 0.5584 GB, free: 2.91 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.475605226005428] Failed to read output from testmodel.py, exit status != 0: 11.690924643015023 11.708342131 11.318914591 Calling exit ...