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.001317/0.001317, 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.001687/0.001687, allocations: 213.1 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.599/1.599, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1883/0.1883, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002154/0.002154, allocations: 63.91 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3754, allocations: 62.47 MB / 0.5419 GB, free: 224 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.00346/0.3788, allocations: 2.139 MB / 0.544 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008692/0.3797, allocations: 0.5148 MB / 0.5445 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.3797, allocations: 3.938 kB / 0.5445 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.3799, allocations: 9.984 kB / 0.5446 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.154e-05/0.38, allocations: 22.88 kB / 0.5446 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.3804, allocations: 77.56 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3805, allocations: 64.22 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.3806, allocations: 7.281 kB / 0.5447 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.3807, allocations: 34.94 kB / 0.5448 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.3807, allocations: 33.27 kB / 0.5448 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.3808, allocations: 1.375 kB / 0.5448 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.381, allocations: 96.66 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.381, allocations: 41.84 kB / 0.5449 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.3811, allocations: 37.25 kB / 0.545 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.3813, allocations: 155.2 kB / 0.5451 GB, free: 13.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3813, allocations: 0 / 0.5451 GB, free: 13.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3813, allocations: 0 / 0.5451 GB, free: 13.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3814, allocations: 0 / 0.5451 GB, free: 13.8 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.0005554/0.3819, allocations: 412.5 kB / 0.5455 GB, free: 13.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.382, allocations: 13.3 kB / 0.5455 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.382, allocations: 49.36 kB / 0.5456 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.3821, allocations: 17.89 kB / 0.5456 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3823, allocations: 141.4 kB / 0.5457 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3823, allocations: 0.9062 kB / 0.5457 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3823, allocations: 1.094 kB / 0.5457 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.3827, allocations: 228.2 kB / 0.5459 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3828, allocations: 3.984 kB / 0.5459 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3828, allocations: 3.938 kB / 0.5459 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3828, allocations: 5.125 kB / 0.5459 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.383, allocations: 188.9 kB / 0.5461 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.3833, allocations: 179.5 kB / 0.5463 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.3836, allocations: 208.2 kB / 0.5465 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.3839, allocations: 201.2 kB / 0.5467 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.3839, allocations: 1.188 kB / 0.5467 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3839, allocations: 31.78 kB / 0.5467 GB, free: 12.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.082e-06/0.3839, allocations: 0 / 0.5467 GB, free: 12.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009631/0.3849, allocations: 0.7118 MB / 0.5474 GB, free: 12.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.385, allocations: 108.5 kB / 0.5475 GB, free: 12.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.3851, allocations: 153.9 kB / 0.5477 GB, free: 11.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3851, allocations: 25.7 kB / 0.5477 GB, free: 11.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.3852, allocations: 100.7 kB / 0.5478 GB, free: 11.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.3853, allocations: 138.2 kB / 0.5479 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.3854, allocations: 30.73 kB / 0.5479 GB, free: 11.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3855, allocations: 338 kB / 0.5483 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.3857, allocations: 193.7 kB / 0.5484 GB, free: 11.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.3859, allocations: 196.3 kB / 0.5486 GB, free: 11.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.3864, allocations: 450.2 kB / 0.5491 GB, free: 10.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3864, allocations: 0 / 0.5491 GB, free: 10.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005623/0.387, allocations: 467.2 kB / 0.5495 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.3871, allocations: 87.17 kB / 0.5496 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3871, allocations: 0 / 0.5496 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.3871, allocations: 5.078 kB / 0.5496 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.3871, allocations: 0 / 0.5496 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3871, allocations: 3.984 kB / 0.5496 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.3872, allocations: 24.66 kB / 0.5496 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.3872, allocations: 10.27 kB / 0.5496 GB, free: 10.64 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.0002752/0.3875, allocations: 234.6 kB / 0.5499 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.3876, allocations: 24.52 kB / 0.5499 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.3876, allocations: 13.44 kB / 0.5499 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3876, allocations: 4 kB / 0.5499 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3876, allocations: 1.188 kB / 0.5499 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3876, allocations: 0 / 0.5499 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3878, allocations: 186.1 kB / 0.5501 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3878, allocations: 0 / 0.5501 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-06/0.3878, allocations: 1.438 kB / 0.5501 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3878, allocations: 0 / 0.5501 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.3878, allocations: 5.625 kB / 0.5501 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3878, allocations: 9.438 kB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3878, allocations: 0 / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3889, allocations: 0.7766 MB / 0.5508 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3889, allocations: 30.48 kB / 0.5509 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.389, allocations: 5.594 kB / 0.5509 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-05/0.389, allocations: 9.562 kB / 0.5509 GB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.389, allocations: 10.3 kB / 0.5509 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.389, allocations: 6.875 kB / 0.5509 GB, free: 9.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.3892, allocations: 119.2 kB / 0.551 GB, free: 9.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3892, allocations: 0 / 0.551 GB, free: 9.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.3895, allocations: 61.75 kB / 0.5511 GB, free: 9.719 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.001434/0.3909, allocations: 1.331 MB / 0.5524 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009699/0.3919, allocations: 0.7601 MB / 0.5531 GB, free: 8.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3919, allocations: 0 / 0.5531 GB, free: 8.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004998/0.3924, allocations: 444.9 kB / 0.5535 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.3926, allocations: 33.84 kB / 0.5536 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.3971, allocations: 3.778 MB / 0.5573 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.3972, allocations: 135.6 kB / 0.5574 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.701e-05/0.3972, allocations: 4.156 kB / 0.5574 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.3973, allocations: 39.42 kB / 0.5574 GB, free: 3.777 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3973, allocations: 0 / 0.5574 GB, free: 3.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04309/0.4404, allocations: 5.483 MB / 0.5628 GB, free: 14.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.57, allocations: 13.56 kB / 0.5628 GB, free: 14.42 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.457843597978354] Failed to read output from testmodel.py, exit status != 0: 11.678847655653954 11.698523609 11.313520897 Calling exit ...