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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.001324/0.001323, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 224.5 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1778/0.1778, allocations: 37.98 MB / 309.8 MB, free: 5.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 63.91 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2727, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003208/0.2759, allocations: 2.047 MB / 434.1 MB, free: 17.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007029/0.2766, allocations: 0.5698 MB / 434.6 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.2767, allocations: 0 / 434.6 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.2769, allocations: 7.922 kB / 434.7 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.482e-05/0.277, allocations: 31.84 kB / 434.7 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.2773, allocations: 63.84 kB / 434.7 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2775, allocations: 67.7 kB / 434.8 MB, free: 16.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.2775, allocations: 0 / 434.8 MB, free: 16.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.2776, allocations: 31.91 kB / 434.8 MB, free: 16.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.2777, allocations: 27.84 kB / 434.9 MB, free: 16.63 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.2777, allocations: 0 / 434.9 MB, free: 16.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.2778, allocations: 75.88 kB / 434.9 MB, free: 16.56 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.2779, allocations: 43.84 kB / 435 MB, free: 16.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.2779, allocations: 39.56 kB / 435 MB, free: 16.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.2781, allocations: 161.1 kB / 435.2 MB, free: 16.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2781, allocations: 0 / 435.2 MB, free: 16.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2782, allocations: 0 / 435.2 MB, free: 16.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2782, allocations: 0 / 435.2 MB, free: 16.32 MB / 318.1 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.0003559/0.2785, allocations: 480.5 kB / 435.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2786, allocations: 11.89 kB / 435.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.2786, allocations: 16.66 kB / 435.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.2788, allocations: 204.5 kB / 435.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2788, allocations: 3.938 kB / 435.9 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.2788, allocations: 0 / 435.9 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.279, allocations: 134.6 kB / 436 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.279, allocations: 0 / 436 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.279, allocations: 4 kB / 436 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.279, allocations: 0 / 436 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.152e-05/0.2791, allocations: 96.23 kB / 436.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.2792, allocations: 202 kB / 436.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.2793, allocations: 146.9 kB / 436.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/0.2794, allocations: 149.2 kB / 436.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.2794, allocations: 0 / 436.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.2795, allocations: 34.55 kB / 436.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.132e-06/0.2795, allocations: 0 / 436.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0004612/0.2799, allocations: 479.7 kB / 437.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.28, allocations: 109.1 kB / 437.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.2801, allocations: 146.4 kB / 437.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.2801, allocations: 25.7 kB / 437.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.2802, allocations: 104.8 kB / 437.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/0.2802, allocations: 126.1 kB / 437.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.2803, allocations: 29.7 kB / 437.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.2804, allocations: 334.8 kB / 438 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.2804, allocations: 95.95 kB / 438.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.814e-05/0.2805, allocations: 95.97 kB / 438.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.2807, allocations: 361.4 kB / 438.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2807, allocations: 0 / 438.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002305/0.2809, allocations: 334.9 kB / 438.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.281, allocations: 77.64 kB / 438.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.281, allocations: 0 / 438.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.281, allocations: 3.938 kB / 438.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.2811, allocations: 7.984 kB / 438.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2811, allocations: 0 / 438.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.2811, allocations: 19.78 kB / 438.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.2811, allocations: 8 kB / 438.9 MB, free: 12.29 MB / 318.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.0001394/0.2813, allocations: 235.3 kB / 439.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.2813, allocations: 23.75 kB / 439.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.406e-05/0.2813, allocations: 17.95 kB / 439.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2814, allocations: 4 kB / 439.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2814, allocations: 0 / 439.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2814, allocations: 0 / 439.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.2815, allocations: 233.3 kB / 439.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2815, allocations: 0 / 439.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.2815, allocations: 0 / 439.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2815, allocations: 0 / 439.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2815, allocations: 4 kB / 439.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2815, allocations: 4 kB / 439.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2815, allocations: 4 kB / 439.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006394/0.2822, allocations: 0.9081 MB / 440.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.2822, allocations: 96.8 kB / 440.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.2823, allocations: 8 kB / 440.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.311e-05/0.2823, allocations: 11.92 kB / 440.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.2823, allocations: 8 kB / 440.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2823, allocations: 4 kB / 440.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.2824, allocations: 120.7 kB / 440.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2824, allocations: 0 / 440.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.2827, allocations: 60 kB / 440.7 MB, free: 10.46 MB / 318.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.0001625/0.2828, allocations: 115.2 kB / 440.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008989/0.2838, allocations: 1.589 MB / 442.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2838, allocations: 0 / 442.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006448/0.2844, allocations: 1.366 MB / 443.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.2847, allocations: 24.11 kB / 443.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.2854, allocations: 0.6216 MB / 444.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.2855, allocations: 0.7439 MB / 445.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.196e-05/0.2856, allocations: 0 / 445.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.2856, allocations: 15.38 kB / 445.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2856, allocations: 0 / 445.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of Templates: time 0.004876/0.2905, allocations: 2.653 MB / 447.8 MB, free: 3.262 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)