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.001123/0.001123, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004167/0.004167, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.8978/0.8978, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2334/0.2334, allocations: 29.42 MB / 290.8 MB, free: 2.426 MB / 266.7 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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.965e-05, allocations: 2.984 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003618/0.003648, allocations: 2.146 MB / 433.6 MB, free: 10.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.004494, allocations: 0.5414 MB / 434.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.004546, allocations: 0 / 434.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.004701, allocations: 11.92 kB / 434.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.665e-05/0.004798, allocations: 31.77 kB / 434.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.005211, allocations: 79.69 kB / 434.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.005345, allocations: 55.77 kB / 434.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.005399, allocations: 4 kB / 434.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.005569, allocations: 39.89 kB / 434.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.005622, allocations: 27.91 kB / 434.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.005634, allocations: 4 kB / 434.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.005834, allocations: 103.7 kB / 434.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.005897, allocations: 35.86 kB / 434.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.005932, allocations: 23.88 kB / 434.6 MB, free: 9.984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.006173, allocations: 151.4 kB / 434.7 MB, free: 9.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.006178, allocations: 0 / 434.7 MB, free: 9.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.00618, allocations: 0 / 434.7 MB, free: 9.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.006186, allocations: 0 / 434.7 MB, free: 9.836 MB / 410.7 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.0003791/0.006565, allocations: 411.2 kB / 435.1 MB, free: 9.398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.0066, allocations: 11.98 kB / 435.1 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.006641, allocations: 12.84 kB / 435.1 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.006773, allocations: 146 kB / 435.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.006782, allocations: 384 / 435.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.006791, allocations: 4.375 kB / 435.3 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.006982, allocations: 216.2 kB / 435.5 MB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.006988, allocations: 4 kB / 435.5 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.006997, allocations: 0 / 435.5 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.007002, allocations: 0 / 435.5 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.007113, allocations: 186 kB / 435.7 MB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.007221, allocations: 141.7 kB / 435.8 MB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.007359, allocations: 200.5 kB / 436 MB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.007466, allocations: 190.8 kB / 436.2 MB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.007473, allocations: 3.938 kB / 436.2 MB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.007495, allocations: 34.5 kB / 436.2 MB, free: 8.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 9.22e-07/0.007496, allocations: 0 / 436.2 MB, free: 8.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005423/0.008038, allocations: 0.6906 MB / 436.9 MB, free: 7.453 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.008087, allocations: 105.1 kB / 437 MB, free: 7.332 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.008184, allocations: 149.6 kB / 437.2 MB, free: 7.172 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.008195, allocations: 25.7 kB / 437.2 MB, free: 7.141 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.00824, allocations: 108.8 kB / 437.3 MB, free: 7.031 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.131e-05/0.008311, allocations: 130.8 kB / 437.4 MB, free: 6.902 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.008345, allocations: 33.7 kB / 437.5 MB, free: 6.863 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.008429, allocations: 334.8 kB / 437.8 MB, free: 6.527 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.008537, allocations: 181.6 kB / 438 MB, free: 6.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.008638, allocations: 185.6 kB / 438.2 MB, free: 6.156 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.008885, allocations: 429.3 kB / 438.6 MB, free: 5.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.008887, allocations: 0 / 438.6 MB, free: 5.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002872/0.009174, allocations: 460.6 kB / 439 MB, free: 5.254 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.164e-05/0.009235, allocations: 85.64 kB / 439.1 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.009242, allocations: 3.984 kB / 439.1 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.009254, allocations: 4.062 kB / 439.1 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.303e-06/0.009256, allocations: 0 / 439.1 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.00926, allocations: 0 / 439.1 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.009289, allocations: 15.89 kB / 439.1 MB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.009308, allocations: 8 kB / 439.1 MB, free: 5.133 MB / 410.7 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.0001163/0.009424, allocations: 227.4 kB / 439.4 MB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.009444, allocations: 31.8 kB / 439.4 MB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.426e-05/0.009458, allocations: 5.969 kB / 439.4 MB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.009462, allocations: 7.984 kB / 439.4 MB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.009465, allocations: 0 / 439.4 MB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.009468, allocations: 4 kB / 439.4 MB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.52e-05/0.009553, allocations: 153.1 kB / 439.6 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009554, allocations: 0 / 439.6 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.009555, allocations: 0 / 439.6 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.009557, allocations: 3.938 kB / 439.6 MB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.009568, allocations: 8 kB / 439.6 MB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.009569, allocations: 0 / 439.6 MB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00957, allocations: 0 / 439.6 MB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000524/0.01009, allocations: 0.7654 MB / 440.3 MB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.01011, allocations: 23.78 kB / 440.4 MB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.01013, allocations: 4 kB / 440.4 MB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.184e-05/0.01016, allocations: 16.02 kB / 440.4 MB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.01017, allocations: 4 kB / 440.4 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.01018, allocations: 8 kB / 440.4 MB, free: 3.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.835e-05/0.01023, allocations: 114.4 kB / 440.5 MB, free: 3.688 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01023, allocations: 0 / 440.5 MB, free: 3.688 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.01041, allocations: 63.94 kB / 440.6 MB, free: 3.625 MB / 410.7 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.000154/0.01056, allocations: 115.2 kB / 440.7 MB, free: 3.504 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005245/0.01108, allocations: 0.7367 MB / 441.4 MB, free: 2.742 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01109, allocations: 0 / 441.4 MB, free: 2.742 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.01135, allocations: 444.9 kB / 441.9 MB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.01154, allocations: 38.5 kB / 441.9 MB, free: 2.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006899/0.01223, allocations: 0.7479 MB / 442.6 MB, free: 1.469 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.657e-05/0.01232, allocations: 135.7 kB / 442.8 MB, free: 1.309 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.01233, allocations: 8.5 kB / 442.8 MB, free: 1.301 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01233, allocations: 0 / 442.8 MB, free: 1.301 MB / 410.7 MB Notification: Performance of Templates: time 0.1523/0.1646, allocations: 2.376 MB / 445.2 MB, free: 55.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.865835354663432] Failed to read output from testmodel.py, exit status != 0: 0.1723415618762374 0.18109429200000002 0.173485839 Calling exit ...