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.001923/0.001923, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002408/0.002408, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.57/1.57, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.1865/0.1865, allocations: 38.52 MB / 353.2 MB, free: 12.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="cs",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.002096/0.002096, allocations: 59.91 kB / 493.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3283, allocations: 62.47 MB / 0.5428 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003922/0.3323, allocations: 2.159 MB / 0.5449 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000988/0.3332, allocations: 0.5611 MB / 0.5454 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.3333, allocations: 0 / 0.5454 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.3335, allocations: 14.66 kB / 0.5454 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.3336, allocations: 26.22 kB / 0.5455 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.3339, allocations: 81.39 kB / 0.5455 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3341, allocations: 66.08 kB / 0.5456 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.3341, allocations: 1.5 kB / 0.5456 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.3342, allocations: 37.5 kB / 0.5456 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.3343, allocations: 34.33 kB / 0.5457 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.3343, allocations: 0.9688 kB / 0.5457 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.3346, allocations: 128.8 kB / 0.5458 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.3346, allocations: 16.59 kB / 0.5458 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.3346, allocations: 17.53 kB / 0.5458 GB, free: 14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.3348, allocations: 101.6 kB / 0.5459 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3348, allocations: 0 / 0.5459 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3348, allocations: 2.031 kB / 0.5459 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3348, allocations: 0 / 0.5459 GB, free: 13.95 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.0004241/0.3353, allocations: 318.2 kB / 0.5462 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3353, allocations: 14.77 kB / 0.5463 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.57e-05/0.3353, allocations: 192 / 0.5463 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.032e-05/0.3354, allocations: 32.28 kB / 0.5463 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.3354, allocations: 7.734 kB / 0.5463 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.3356, allocations: 125.1 kB / 0.5464 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.3356, allocations: 4.125 kB / 0.5464 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3356, allocations: 1.375 kB / 0.5464 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.3357, allocations: 55.22 kB / 0.5465 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3357, allocations: 4 kB / 0.5465 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3357, allocations: 5.422 kB / 0.5465 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3357, allocations: 0 / 0.5465 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.3358, allocations: 19.38 kB / 0.5465 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.3359, allocations: 126.1 kB / 0.5466 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.913e-05/0.336, allocations: 42.09 kB / 0.5467 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.336, allocations: 27.31 kB / 0.5467 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.3361, allocations: 4.938 kB / 0.5467 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.3361, allocations: 35.84 kB / 0.5467 GB, free: 13.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.3361, allocations: 0 / 0.5467 GB, free: 13.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002822/0.3364, allocations: 145 kB / 0.5469 GB, free: 13.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.3364, allocations: 82.48 kB / 0.5469 GB, free: 12.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3366, allocations: 114.9 kB / 0.547 GB, free: 12.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3366, allocations: 25.7 kB / 0.5471 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.3366, allocations: 86.39 kB / 0.5472 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.3367, allocations: 31.02 kB / 0.5472 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.3367, allocations: 23.34 kB / 0.5472 GB, free: 12.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3369, allocations: 324.9 kB / 0.5475 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.3369, allocations: 22.62 kB / 0.5475 GB, free: 12.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.337, allocations: 19.02 kB / 0.5476 GB, free: 12.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3371, allocations: 125 kB / 0.5477 GB, free: 12.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3371, allocations: 0 / 0.5477 GB, free: 12.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001563/0.3373, allocations: 123.6 kB / 0.5478 GB, free: 12.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.3373, allocations: 42.06 kB / 0.5478 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3373, allocations: 4.062 kB / 0.5478 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3373, allocations: 0 / 0.5478 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3373, allocations: 1.375 kB / 0.5478 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3373, allocations: 0 / 0.5478 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.976e-05/0.3374, allocations: 10.64 kB / 0.5478 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.3374, allocations: 2.75 kB / 0.5479 GB, free: 12.1 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.0001357/0.3375, allocations: 165 kB / 0.548 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.3375, allocations: 4.031 kB / 0.548 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.3375, allocations: 5.719 kB / 0.548 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3375, allocations: 5.344 kB / 0.548 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3375, allocations: 4 kB / 0.548 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.3375, allocations: 0 / 0.548 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.3377, allocations: 149.6 kB / 0.5482 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3377, allocations: 0 / 0.5482 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-07/0.3377, allocations: 5.281 kB / 0.5482 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3377, allocations: 0 / 0.5482 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3377, allocations: 3.031 kB / 0.5482 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3377, allocations: 3.984 kB / 0.5482 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3377, allocations: 0 / 0.5482 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.338, allocations: 215.6 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.338, allocations: 2.375 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.338, allocations: 2.219 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.582e-05/0.338, allocations: 1.219 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.338, allocations: 1 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.338, allocations: 3.5 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.958e-05/0.3381, allocations: 99.05 kB / 0.5485 GB, free: 11.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3381, allocations: 0 / 0.5485 GB, free: 11.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.3383, allocations: 31.41 kB / 0.5485 GB, free: 11.49 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.0006704/0.339, allocations: 0.7659 MB / 0.5493 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.3393, allocations: 167 kB / 0.5494 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3393, allocations: 0 / 0.5494 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3394, allocations: 123.5 kB / 0.5495 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3396, allocations: 13.5 kB / 0.5496 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3413, allocations: 1.547 MB / 0.5511 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.3417, allocations: 0.6915 MB / 0.5517 GB, free: 8.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.616e-05/0.3417, allocations: 1.438 kB / 0.5517 GB, free: 8.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.3417, allocations: 15.44 kB / 0.5518 GB, free: 8.586 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3417, allocations: 0 / 0.5518 GB, free: 8.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.3661, allocations: 2.363 MB / 0.5541 GB, free: 7.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.69, allocations: 6.281 kB / 0.5541 GB, free: 7.348 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.676475829037372] Failed to read output from testmodel.py, exit status != 0: 11.853345579991583 11.869197367 11.530742642 Calling exit ...