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.001391/0.001391, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001769/0.001769, allocations: 212 kB / 23.74 MB, free: 4.656 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.1937/0.1937, allocations: 38.52 MB / 352.4 MB, free: 12.54 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.002277/0.002277, allocations: 63.89 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3618, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003395/0.3652, allocations: 2.162 MB / 0.5441 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.3661, allocations: 0.5541 MB / 0.5447 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.3662, allocations: 5.219 kB / 0.5447 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.3663, allocations: 18.06 kB / 0.5447 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.3664, allocations: 27 kB / 0.5447 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.3668, allocations: 76.62 kB / 0.5448 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.3669, allocations: 65.44 kB / 0.5448 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.3669, allocations: 3.312 kB / 0.5448 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3671, allocations: 39.77 kB / 0.5449 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.3671, allocations: 26.72 kB / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.3671, allocations: 5.844 kB / 0.5449 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.3674, allocations: 128.1 kB / 0.545 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.3674, allocations: 9.281 kB / 0.545 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.3674, allocations: 17.28 kB / 0.5451 GB, free: 14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.3676, allocations: 110.1 kB / 0.5452 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3676, allocations: 0 / 0.5452 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3676, allocations: 3.938 kB / 0.5452 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3676, allocations: 0 / 0.5452 GB, free: 13.94 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.0003867/0.368, allocations: 309.1 kB / 0.5455 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3681, allocations: 13.67 kB / 0.5455 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.3681, allocations: 44.92 kB / 0.5455 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.3681, allocations: 7.203 kB / 0.5455 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3683, allocations: 112.8 kB / 0.5456 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3683, allocations: 1.531 kB / 0.5456 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3683, allocations: 4.969 kB / 0.5456 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.3684, allocations: 58.08 kB / 0.5457 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3684, allocations: 1.375 kB / 0.5457 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3685, allocations: 7.984 kB / 0.5457 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3685, allocations: 0 / 0.5457 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.3685, allocations: 15.12 kB / 0.5457 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.3687, allocations: 139.6 kB / 0.5459 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.11e-05/0.3687, allocations: 37.64 kB / 0.5459 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.3688, allocations: 23.97 kB / 0.5459 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3688, allocations: 7.875 kB / 0.5459 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.3688, allocations: 31.94 kB / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.3688, allocations: 0 / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002435/0.369, allocations: 153.1 kB / 0.5461 GB, free: 13.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.3691, allocations: 87.62 kB / 0.5462 GB, free: 12.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3692, allocations: 110.1 kB / 0.5463 GB, free: 12.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3692, allocations: 25.7 kB / 0.5463 GB, free: 12.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.3693, allocations: 86.05 kB / 0.5464 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.3693, allocations: 31.02 kB / 0.5464 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.3694, allocations: 15.72 kB / 0.5464 GB, free: 12.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3695, allocations: 324.7 kB / 0.5467 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/0.3696, allocations: 26.78 kB / 0.5468 GB, free: 12.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.3696, allocations: 19.42 kB / 0.5468 GB, free: 12.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.3697, allocations: 132.4 kB / 0.5469 GB, free: 12.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3697, allocations: 5.031 kB / 0.5469 GB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001506/0.3699, allocations: 115.4 kB / 0.547 GB, free: 12.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.3699, allocations: 47.94 kB / 0.5471 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3699, allocations: 0 / 0.5471 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3699, allocations: 1.125 kB / 0.5471 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.3699, allocations: 0 / 0.5471 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3699, allocations: 1.219 kB / 0.5471 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.37, allocations: 14.3 kB / 0.5471 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.37, allocations: 2.156 kB / 0.5471 GB, free: 12.08 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.0001325/0.3701, allocations: 161 kB / 0.5472 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.3701, allocations: 4.875 kB / 0.5473 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.3701, allocations: 9.375 kB / 0.5473 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3701, allocations: 1.031 kB / 0.5473 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3702, allocations: 0 / 0.5473 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.3702, allocations: 0 / 0.5473 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.3703, allocations: 141.5 kB / 0.5474 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3703, allocations: 4.969 kB / 0.5474 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.3703, allocations: 0 / 0.5474 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3703, allocations: 1.188 kB / 0.5474 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3703, allocations: 6.828 kB / 0.5474 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3703, allocations: 0 / 0.5474 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3703, allocations: 3.938 kB / 0.5474 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.3706, allocations: 214.4 kB / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.3706, allocations: 2.375 kB / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.3706, allocations: 6.25 kB / 0.5476 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.3706, allocations: 6.781 kB / 0.5476 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.3706, allocations: 5.656 kB / 0.5476 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3706, allocations: 5.109 kB / 0.5476 GB, free: 11.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.566e-05/0.3707, allocations: 91.41 kB / 0.5477 GB, free: 11.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3707, allocations: 1.062 kB / 0.5477 GB, free: 11.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.3709, allocations: 27.19 kB / 0.5478 GB, free: 11.48 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.0007147/0.3716, allocations: 0.7576 MB / 0.5485 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.3719, allocations: 167 kB / 0.5487 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3719, allocations: 0 / 0.5487 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.372, allocations: 128.5 kB / 0.5488 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3723, allocations: 11.38 kB / 0.5488 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.374, allocations: 1.547 MB / 0.5503 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3743, allocations: 0.6945 MB / 0.551 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.3744, allocations: 2.219 kB / 0.551 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.3744, allocations: 15.44 kB / 0.551 GB, free: 8.574 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3744, allocations: 0 / 0.551 GB, free: 8.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.4091, allocations: 2.328 MB / 0.5533 GB, free: 7.355 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.75, allocations: 1.25 kB / 0.5533 GB, free: 7.355 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.571311329025775] Failed to read output from testmodel.py, exit status != 0: 11.859687755117193 11.881021193 11.509950477 Calling exit ...