Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001145/0.001145, allocations: 182.8 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.596/1.596, allocations: 194.2 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001686/0.001686, allocations: 112.8 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.156/0.156, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.891e-05, allocations: 0 / 397.5 MB, free: 1.055 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 53.23 MB / 450.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5193/0.8409, allocations: 116.2 MB / 0.5537 GB, free: 29.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.8414, allocations: 94.98 kB / 0.5538 GB, free: 29.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09829/0.9397, allocations: 34.84 MB / 0.5878 GB, free: 18.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.008e-06/0.9398, allocations: 0 / 0.5878 GB, free: 18.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002019/0.94, allocations: 30.81 kB / 0.5878 GB, free: 18.21 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00537/0.9454, allocations: 1.303 MB / 0.5891 GB, free: 17.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.718e-05/0.9455, allocations: 7.5 kB / 0.5891 GB, free: 17.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.9469, allocations: 154.9 kB / 0.5893 GB, free: 17.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004915/0.9518, allocations: 1.201 MB / 0.5904 GB, free: 16.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.952, allocations: 76.69 kB / 0.5905 GB, free: 16.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006072/0.9526, allocations: 125.3 kB / 0.5906 GB, free: 16.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/0.9558, allocations: 1.276 MB / 0.5919 GB, free: 16.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.439e-05/0.9558, allocations: 3.75 kB / 0.5919 GB, free: 16.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.956, allocations: 39.56 kB / 0.5919 GB, free: 16.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.9561, allocations: 66.19 kB / 0.592 GB, free: 16.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.958, allocations: 1.002 MB / 0.5929 GB, free: 16.12 MB / 378.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00746/0.9655, allocations: 4.908 MB / 0.5977 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009665/0.9664, allocations: 0.7175 MB / 0.5984 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/0.9669, allocations: 323.6 kB / 0.5987 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.779e-05/0.967, allocations: 11.95 kB / 0.5988 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.967, allocations: 38.69 kB / 0.5988 GB, free: 12.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 5.47e-06/0.967, allocations: 3.984 kB / 0.5988 GB, free: 12.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.004754/0.9718, allocations: 2.684 MB / 0.6014 GB, free: 11.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.9719, allocations: 119.4 kB / 0.6015 GB, free: 11.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.9726, allocations: 0.5999 MB / 0.6021 GB, free: 10.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.9727, allocations: 36.77 kB / 0.6022 GB, free: 10.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.9729, allocations: 0.5379 MB / 0.6027 GB, free: 10.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.9731, allocations: 252.1 kB / 0.6029 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.9731, allocations: 17.88 kB / 0.6029 GB, free: 10.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.9732, allocations: 344 kB / 0.6033 GB, free: 9.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.9736, allocations: 270.8 kB / 0.6035 GB, free: 9.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.9741, allocations: 0.5061 MB / 0.604 GB, free: 9.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/0.9746, allocations: 367.9 kB / 0.6044 GB, free: 8.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9746, allocations: 0 / 0.6044 GB, free: 8.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002332/0.977, allocations: 1.238 MB / 0.6056 GB, free: 8.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007267/0.9777, allocations: 2.97 MB / 0.6085 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.9777, allocations: 12 kB / 0.6085 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.979, allocations: 399.2 kB / 0.6089 GB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.9796, allocations: 164.4 kB / 0.609 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.9809, allocations: 1.145 MB / 0.6101 GB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/0.9816, allocations: 39.7 kB / 0.6102 GB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.9816, allocations: 38.5 kB / 0.6102 GB, free: 3.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.9816, allocations: 0 / 0.6102 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002162/0.9838, allocations: 1.123 MB / 0.6113 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9838, allocations: 8 kB / 0.6113 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.985, allocations: 391.5 kB / 0.6117 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.9856, allocations: 161.4 kB / 0.6119 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/0.9921, allocations: 4.6 MB / 0.6163 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007999/0.9929, allocations: 43.83 kB / 0.6164 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/0.993, allocations: 32 kB / 0.6164 GB, free: 13.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 25} Notification: Performance of prepare postOptimizeDAE: time 0.0003447/0.9934, allocations: 156.7 kB / 0.6166 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.9936, allocations: 90.95 kB / 0.6167 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.9952, allocations: 0.8431 MB / 0.6175 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.9953, allocations: 8 kB / 0.6175 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9953, allocations: 4 kB / 0.6175 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.9953, allocations: 3.984 kB / 0.6175 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.9985, allocations: 1.787 MB / 0.6192 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.9985, allocations: 4 kB / 0.6192 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008516/0.9994, allocations: 167.8 kB / 0.6194 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.9994, allocations: 4 kB / 0.6194 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/0.9995, allocations: 19.98 kB / 0.6194 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.9995, allocations: 4 kB / 0.6194 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9995, allocations: 0 / 0.6194 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/1.001, allocations: 1.255 MB / 0.6207 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/1.002, allocations: 211.9 kB / 0.6209 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/1.002, allocations: 31.89 kB / 0.6209 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/1.002, allocations: 23.92 kB / 0.6209 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/1.002, allocations: 40.72 kB / 0.6209 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/1.002, allocations: 20 kB / 0.621 GB, free: 8.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006143/1.003, allocations: 475.1 kB / 0.6214 GB, free: 8.137 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.003, allocations: 0 / 0.6214 GB, free: 8.137 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001471/1.004, allocations: 420 kB / 0.6218 GB, free: 7.727 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.generator.phi_el,PMgen.generator.w_el,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003816/1.005, allocations: 203.4 kB / 0.622 GB, free: 7.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003056/1.008, allocations: 1.564 MB / 0.6235 GB, free: 5.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.008, allocations: 0 / 0.6235 GB, free: 5.938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004889/1.008, allocations: 337.9 kB / 0.6239 GB, free: 5.605 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/1.009, allocations: 223.2 kB / 0.6241 GB, free: 5.387 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/1.013, allocations: 1.942 MB / 0.626 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008773/1.014, allocations: 1.2 MB / 0.6271 GB, free: 2.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001159/1.015, allocations: 311.1 kB / 0.6274 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/1.015, allocations: 55.44 kB / 0.6275 GB, free: 1.816 MB / 394.7 MB Notification: Performance of SimCode: time 1.382e-06/1.015, allocations: 0 / 0.6275 GB, free: 1.816 MB / 394.7 MB Notification: Performance of Templates: time 0.02907/1.044, allocations: 16.46 MB / 0.6436 GB, free: 1.328 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1)