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.001938/0.001938, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002699/0.002699, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.58/1.58, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2056/0.2056, allocations: 38.56 MB / 352.5 MB, free: 12.43 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.003728/0.003728, allocations: 71.89 kB / 492.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3719, allocations: 62.48 MB / 0.542 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003718/0.3756, allocations: 2.135 MB / 0.544 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.3765, allocations: 0.5112 MB / 0.5445 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.3765, allocations: 3.938 kB / 0.5445 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.3766, allocations: 10.67 kB / 0.5446 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.112e-05/0.3767, allocations: 26.78 kB / 0.5446 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.3771, allocations: 77.73 kB / 0.5447 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.3772, allocations: 64.64 kB / 0.5447 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.3773, allocations: 10.73 kB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3774, allocations: 30.97 kB / 0.5448 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.3775, allocations: 25.56 kB / 0.5448 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3775, allocations: 1.844 kB / 0.5448 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.3777, allocations: 107.5 kB / 0.5449 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.3777, allocations: 37.45 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.3778, allocations: 38.2 kB / 0.545 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.378, allocations: 154.5 kB / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.378, allocations: 0 / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.378, allocations: 0 / 0.5451 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.378, allocations: 5.344 kB / 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004837/0.3785, allocations: 407 kB / 0.5455 GB, free: 13.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3785, allocations: 13.86 kB / 0.5455 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.3786, allocations: 45.52 kB / 0.5456 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.3786, allocations: 21.95 kB / 0.5456 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.3788, allocations: 147 kB / 0.5457 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3789, allocations: 5.094 kB / 0.5457 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.3789, allocations: 1 kB / 0.5457 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.3791, allocations: 223.1 kB / 0.5459 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3791, allocations: 1.031 kB / 0.5459 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.3791, allocations: 4 kB / 0.5459 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3792, allocations: 1.156 kB / 0.5459 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.3793, allocations: 197.2 kB / 0.5461 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.3795, allocations: 169.7 kB / 0.5463 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3797, allocations: 216.7 kB / 0.5465 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.3799, allocations: 198.1 kB / 0.5467 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.3799, allocations: 1.156 kB / 0.5467 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.38, allocations: 31.62 kB / 0.5467 GB, free: 12.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.042e-06/0.38, allocations: 0 / 0.5467 GB, free: 12.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009109/0.3809, allocations: 0.7132 MB / 0.5474 GB, free: 12.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/0.381, allocations: 108.5 kB / 0.5475 GB, free: 12.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3811, allocations: 147.5 kB / 0.5477 GB, free: 11.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3811, allocations: 25.7 kB / 0.5477 GB, free: 11.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.3812, allocations: 96.98 kB / 0.5478 GB, free: 11.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.3813, allocations: 145.6 kB / 0.5479 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.3814, allocations: 35.61 kB / 0.5479 GB, free: 11.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3815, allocations: 334.4 kB / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.3817, allocations: 192.8 kB / 0.5484 GB, free: 11.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.3819, allocations: 194.1 kB / 0.5486 GB, free: 11.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.3824, allocations: 444.6 kB / 0.5491 GB, free: 11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3824, allocations: 5 kB / 0.5491 GB, free: 10.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005099/0.3829, allocations: 465.7 kB / 0.5495 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-05/0.383, allocations: 87.41 kB / 0.5496 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.383, allocations: 1.156 kB / 0.5496 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.383, allocations: 0 / 0.5496 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.383, allocations: 0 / 0.5496 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.383, allocations: 1.281 kB / 0.5496 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/0.383, allocations: 24.31 kB / 0.5496 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.3831, allocations: 10.39 kB / 0.5496 GB, free: 10.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.0002107/0.3833, allocations: 230 kB / 0.5498 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.3833, allocations: 28.36 kB / 0.5499 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.3833, allocations: 17.48 kB / 0.5499 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3833, allocations: 0 / 0.5499 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3833, allocations: 5.125 kB / 0.5499 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3833, allocations: 0 / 0.5499 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.3835, allocations: 186.8 kB / 0.5501 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3835, allocations: 3.938 kB / 0.5501 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3835, allocations: 0 / 0.5501 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3835, allocations: 1.188 kB / 0.5501 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3835, allocations: 6.125 kB / 0.5501 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3835, allocations: 3.938 kB / 0.5501 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3835, allocations: 5.219 kB / 0.5501 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.3844, allocations: 0.7875 MB / 0.5509 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.3845, allocations: 26.61 kB / 0.5509 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.3845, allocations: 5.562 kB / 0.5509 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.433e-05/0.3845, allocations: 5.5 kB / 0.5509 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.3846, allocations: 2.938 kB / 0.5509 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3846, allocations: 10.72 kB / 0.5509 GB, free: 9.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.229e-05/0.3847, allocations: 118.4 kB / 0.551 GB, free: 9.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3847, allocations: 1.188 kB / 0.551 GB, free: 9.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.3849, allocations: 65.78 kB / 0.5511 GB, free: 9.746 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.001264/0.3862, allocations: 1.331 MB / 0.5524 GB, free: 8.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009222/0.3871, allocations: 0.7589 MB / 0.5531 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3871, allocations: 0 / 0.5531 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.3876, allocations: 440.9 kB / 0.5535 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3879, allocations: 35.77 kB / 0.5536 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.392, allocations: 3.77 MB / 0.5573 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.3921, allocations: 143.7 kB / 0.5574 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.049e-05/0.3921, allocations: 0 / 0.5574 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.3922, allocations: 43.42 kB / 0.5574 GB, free: 3.797 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3922, allocations: 0 / 0.5574 GB, free: 3.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/0.4271, allocations: 5.484 MB / 0.5628 GB, free: 14.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.57, allocations: 6.641 kB / 0.5628 GB, free: 14.45 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.675588660407811] Failed to read output from testmodel.py, exit status != 0: 11.697882626205683 11.71932725 11.337001178 Calling exit ...