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.0008874/0.0008874, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009974/0.0009974, allocations: 162.3 kB / 25.61 MB, free: 8.598 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.9257/0.9257, allocations: 177.1 MB / 206.1 MB, free: 4.488 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.1186/0.1186, allocations: 29.42 MB / 292 MB, free: 2.645 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_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.925e-05, allocations: 2.312 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002394/0.002413, allocations: 2.221 MB / 373.1 MB, free: 30.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007083/0.003121, allocations: 0.5376 MB / 373.6 MB, free: 29.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.003182, allocations: 4 kB / 373.6 MB, free: 29.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.003409, allocations: 11.92 kB / 373.7 MB, free: 29.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.003517, allocations: 31.75 kB / 373.7 MB, free: 29.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.00386, allocations: 79.69 kB / 373.8 MB, free: 29.44 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.003972, allocations: 59.77 kB / 373.8 MB, free: 29.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.00402, allocations: 7.984 kB / 373.8 MB, free: 29.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.004171, allocations: 39.83 kB / 373.9 MB, free: 29.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.004227, allocations: 31.89 kB / 373.9 MB, free: 29.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.00424, allocations: 4 kB / 373.9 MB, free: 29.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.004405, allocations: 99.72 kB / 374 MB, free: 29.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.004447, allocations: 15.94 kB / 374 MB, free: 29.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.004468, allocations: 7.938 kB / 374 MB, free: 29.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.004612, allocations: 103.7 kB / 374.1 MB, free: 29.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.004616, allocations: 0 / 374.1 MB, free: 29.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.004616, allocations: 0 / 374.1 MB, free: 29.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.004624, allocations: 0 / 374.1 MB, free: 29.07 MB / 314.7 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.0003309/0.004955, allocations: 422 kB / 374.5 MB, free: 28.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.004993, allocations: 12.03 kB / 374.5 MB, free: 28.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.005025, allocations: 4.891 kB / 374.6 MB, free: 28.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.00515, allocations: 120.6 kB / 374.7 MB, free: 28.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.005162, allocations: 384 / 374.7 MB, free: 28.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.005173, allocations: 8.359 kB / 374.7 MB, free: 28.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.005273, allocations: 67.95 kB / 374.7 MB, free: 28.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.005286, allocations: 11.94 kB / 374.8 MB, free: 28.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.005296, allocations: 0 / 374.8 MB, free: 28.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.005303, allocations: 0 / 374.8 MB, free: 28.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.005322, allocations: 41.62 kB / 374.8 MB, free: 28.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.61e-05/0.005408, allocations: 101.2 kB / 374.9 MB, free: 28.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.486e-05/0.005463, allocations: 64.83 kB / 375 MB, free: 28.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.005486, allocations: 49.41 kB / 375 MB, free: 28.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-06/0.005491, allocations: 8 kB / 375 MB, free: 28.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.005512, allocations: 33.39 kB / 375 MB, free: 28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 7.31e-07/0.005513, allocations: 0 / 375 MB, free: 28 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001654/0.005678, allocations: 166.7 kB / 375.2 MB, free: 27.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.005712, allocations: 89.05 kB / 375.3 MB, free: 27.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.372e-05/0.005776, allocations: 173.9 kB / 375.5 MB, free: 27.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.005782, allocations: 29.7 kB / 375.5 MB, free: 27.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.005808, allocations: 134.9 kB / 375.6 MB, free: 27.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.00585, allocations: 27.73 kB / 375.7 MB, free: 27.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.005878, allocations: 27.38 kB / 375.7 MB, free: 27.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.005933, allocations: 0.4962 MB / 376.2 MB, free: 26.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.005953, allocations: 33.7 kB / 376.2 MB, free: 26.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.00597, allocations: 37.69 kB / 376.2 MB, free: 26.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.006019, allocations: 99.06 kB / 376.3 MB, free: 26.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.006022, allocations: 7.875 kB / 376.4 MB, free: 26.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.448e-05/0.006096, allocations: 125.4 kB / 376.5 MB, free: 26.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.006122, allocations: 37.69 kB / 376.5 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006128, allocations: 3.984 kB / 376.5 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.006139, allocations: 0 / 376.5 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.006142, allocations: 7.938 kB / 376.5 MB, free: 26.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.006145, allocations: 4.047 kB / 376.5 MB, free: 26.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.00616, allocations: 4 kB / 376.5 MB, free: 26.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.006173, allocations: 4 kB / 376.5 MB, free: 26.37 MB / 314.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 6.068e-05/0.006234, allocations: 194.3 kB / 376.7 MB, free: 26.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.006245, allocations: 11.95 kB / 376.7 MB, free: 26.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.006262, allocations: 4.438 kB / 376.7 MB, free: 26.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006264, allocations: 0 / 376.7 MB, free: 26.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.006269, allocations: 7.938 kB / 376.7 MB, free: 26.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006273, allocations: 0 / 376.7 MB, free: 26.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.413e-05/0.006327, allocations: 101.2 kB / 376.8 MB, free: 26.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.006328, allocations: 0 / 376.8 MB, free: 26.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-07/0.006328, allocations: 4 kB / 376.8 MB, free: 26.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.006329, allocations: 4 kB / 376.9 MB, free: 26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006335, allocations: 0 / 376.9 MB, free: 26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.006337, allocations: 7.922 kB / 376.9 MB, free: 26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006338, allocations: 0 / 376.9 MB, free: 26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.006442, allocations: 187.7 kB / 377 MB, free: 25.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.006452, allocations: 3.953 kB / 377 MB, free: 25.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.006465, allocations: 4 kB / 377.1 MB, free: 25.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.006474, allocations: 4 kB / 377.1 MB, free: 25.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.006487, allocations: 7.984 kB / 377.1 MB, free: 25.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.00649, allocations: 32 / 377.1 MB, free: 25.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.173e-05/0.006512, allocations: 139.1 kB / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006512, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.006661, allocations: 31.92 kB / 377.2 MB, free: 25.59 MB / 314.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.0001231/0.006784, allocations: 111.2 kB / 377.3 MB, free: 25.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.006913, allocations: 170.4 kB / 377.5 MB, free: 25.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.006914, allocations: 0 / 377.5 MB, free: 25.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.006958, allocations: 128.8 kB / 377.6 MB, free: 25.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.007125, allocations: 8.453 kB / 377.6 MB, free: 25.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.007394, allocations: 217.3 kB / 377.9 MB, free: 24.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.007427, allocations: 67.28 kB / 377.9 MB, free: 24.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.442e-05/0.007441, allocations: 0 / 377.9 MB, free: 24.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.007519, allocations: 94.12 kB / 378 MB, free: 24.7 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.00752, allocations: 0 / 378 MB, free: 24.7 MB / 314.7 MB Notification: Performance of Templates: time 0.002889/0.01041, allocations: 1.262 MB / 379.3 MB, free: 23.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7848472208715975]