Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002577/0.002577, allocations: 111.6 kB / 17.29 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002185/0.002184, allocations: 193.3 kB / 18.21 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.892/2.892, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4386/0.4386, allocations: 38.01 MB / 330 MB, free: 8.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002986/0.002987, allocations: 65.86 kB / 398.9 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2411, allocations: 58.06 MB / 457 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.01237/0.2536, allocations: 2.144 MB / 459.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00606/0.2598, allocations: 2.059 MB / 461.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.2601, allocations: 0 / 461.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.2604, allocations: 11.92 kB / 461.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.2608, allocations: 19.91 kB / 461.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004813/0.2656, allocations: 0.7512 MB / 462 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.266, allocations: 83.69 kB / 462.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2661, allocations: 4.188 kB / 462.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.2663, allocations: 43.78 kB / 462.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.2665, allocations: 55.75 kB / 462.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.2666, allocations: 4 kB / 462.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004511/0.2711, allocations: 1.255 MB / 463.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.2713, allocations: 27.92 kB / 463.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.2715, allocations: 47.61 kB / 463.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.2743, allocations: 0.9552 MB / 464.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.2744, allocations: 4 kB / 464.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.2744, allocations: 3.938 kB / 464.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.2744, allocations: 0 / 464.5 MB, free: 0.8906 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001663/0.2761, allocations: 0.5552 MB / 465 MB, free: 288 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.307e-05/0.2762, allocations: 11.89 kB / 465 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.2763, allocations: 12.75 kB / 465 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.2767, allocations: 195.7 kB / 465.2 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.2767, allocations: 4 kB / 465.2 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.2767, allocations: 3.938 kB / 465.2 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.2771, allocations: 108.4 kB / 465.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2771, allocations: 0 / 465.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.2772, allocations: 3.984 kB / 465.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2772, allocations: 4 kB / 465.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.2774, allocations: 63.83 kB / 465.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.2777, allocations: 185.4 kB / 465.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.278, allocations: 102.5 kB / 465.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.2782, allocations: 88.86 kB / 465.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2782, allocations: 4 kB / 465.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.2783, allocations: 38.5 kB / 465.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.374e-06/0.2783, allocations: 0 / 465.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009399/0.2792, allocations: 315.5 kB / 466.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.2794, allocations: 97.11 kB / 466.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.2796, allocations: 156.5 kB / 466.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.2797, allocations: 25.7 kB / 466.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2798, allocations: 100.6 kB / 466.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.2799, allocations: 82.78 kB / 466.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.2801, allocations: 29.7 kB / 466.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.2803, allocations: 326.8 kB / 466.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.2805, allocations: 67.97 kB / 467 MB, free: 14.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.2807, allocations: 59.97 kB / 467.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.2812, allocations: 258.5 kB / 467.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2812, allocations: 0 / 467.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005567/0.2818, allocations: 238.4 kB / 467.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.2819, allocations: 69.72 kB / 467.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2819, allocations: 0 / 467.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.282, allocations: 3.938 kB / 467.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.856e-06/0.282, allocations: 0 / 467.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.282, allocations: 0 / 467.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.2822, allocations: 15.84 kB / 467.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.2822, allocations: 4 kB / 467.6 MB, free: 13.46 MB / 350.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.0003138/0.2825, allocations: 199.4 kB / 467.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.2826, allocations: 11.91 kB / 467.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.2827, allocations: 17.17 kB / 467.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2827, allocations: 0 / 467.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.2827, allocations: 3.938 kB / 467.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.2827, allocations: 0 / 467.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.283, allocations: 213.3 kB / 468.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.283, allocations: 0 / 468.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-06/0.283, allocations: 0 / 468.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2831, allocations: 0 / 468.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.2831, allocations: 7.984 kB / 468.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2831, allocations: 4 kB / 468.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.2831, allocations: 0 / 468.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.2842, allocations: 0.5178 MB / 468.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.2843, allocations: 96.84 kB / 468.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.2844, allocations: 8 kB / 468.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.2845, allocations: 0 / 468.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.2845, allocations: 4 kB / 468.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.2846, allocations: 8 kB / 468.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.2848, allocations: 114.7 kB / 468.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2848, allocations: 4.031 kB / 468.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.006106/0.2909, allocations: 336 kB / 469.2 MB, free: 11.83 MB / 350.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.002622/0.2936, allocations: 374.4 kB / 469.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.295, allocations: 0.7139 MB / 470.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.2951, allocations: 0 / 470.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008892/0.296, allocations: 0.5774 MB / 470.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.2965, allocations: 16 kB / 470.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.298, allocations: 0.5345 MB / 471.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.2986, allocations: 0.7238 MB / 472.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.2986, allocations: 15.38 kB / 472.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of SimCode: time 1.272e-06/0.2987, allocations: 0 / 472.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of Templates: time 0.02131/0.32, allocations: 6.468 MB / 478.6 MB, free: 2.312 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1)