Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002282/0.002282, allocations: 182 kB / 8.012 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 90.64 kB / 261.8 MB, free: 1.668 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3089/0.3089, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.046e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4828/0.5993, allocations: 103.9 MB / 0.5567 GB, free: 7.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.5997, allocations: 88.39 kB / 0.5568 GB, free: 7.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07387/0.6736, allocations: 17.31 MB / 0.5737 GB, free: 9.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.6736, allocations: 0 / 0.5737 GB, free: 9.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.953e-05/0.6737, allocations: 20 kB / 0.5737 GB, free: 9.125 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002169/0.6759, allocations: 0.7752 MB / 0.5745 GB, free: 8.336 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6759, allocations: 8.031 kB / 0.5745 GB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.6781, allocations: 147.1 kB / 0.5746 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005622/0.6838, allocations: 1.203 MB / 0.5758 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.6839, allocations: 16 kB / 0.5758 GB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.6841, allocations: 28 kB / 0.5758 GB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001362/0.6855, allocations: 0.5209 MB / 0.5763 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.6871, allocations: 0.7863 MB / 0.5771 GB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.6872, allocations: 3.906 kB / 0.5771 GB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/0.6873, allocations: 4 kB / 0.5771 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003023/0.6876, allocations: 28.77 kB / 0.5771 GB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02053/0.7081, allocations: 5.671 MB / 0.5827 GB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.7098, allocations: 0.7406 MB / 0.5834 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.7109, allocations: 0.6239 MB / 0.584 GB, free: 336 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.711, allocations: 16.41 kB / 0.584 GB, free: 320 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.7111, allocations: 34.44 kB / 0.5841 GB, free: 276 kB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.417e-06/0.7111, allocations: 0 / 0.5841 GB, free: 276 kB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.02819/0.7393, allocations: 5.249 MB / 0.5892 GB, free: 11.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.7394, allocations: 81.55 kB / 0.5893 GB, free: 11.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/0.74, allocations: 332.2 kB / 0.5896 GB, free: 11.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002671/0.7403, allocations: 29.7 kB / 0.5896 GB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.7407, allocations: 365.8 kB / 0.59 GB, free: 11.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004119/0.7411, allocations: 247.8 kB / 0.5902 GB, free: 10.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.7412, allocations: 4 kB / 0.5902 GB, free: 10.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.7414, allocations: 349.1 kB / 0.5905 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.7432, allocations: 0.7811 MB / 0.5913 GB, free: 10.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.7451, allocations: 0.9915 MB / 0.5923 GB, free: 9.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.7471, allocations: 0.8806 MB / 0.5931 GB, free: 8.766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.7472, allocations: 4 kB / 0.5931 GB, free: 8.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.02976/0.7769, allocations: 5.27 MB / 0.5983 GB, free: 4.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.777, allocations: 16.08 kB / 0.5983 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02194/0.799, allocations: 4.207 MB / 0.6024 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03414/0.8332, allocations: 5.788 MB / 0.608 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.8341, allocations: 115.8 kB / 0.6082 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02733/0.8614, allocations: 10.45 MB / 0.6184 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.8626, allocations: 43.88 kB / 0.6184 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/0.8629, allocations: 163.9 kB / 0.6186 GB, free: 15.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003764/0.8633, allocations: 120.8 kB / 0.6187 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.8636, allocations: 51.39 kB / 0.6187 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02512/0.8887, allocations: 4.017 MB / 0.6226 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-05/0.8888, allocations: 11.98 kB / 0.6227 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8888, allocations: 0 / 0.6227 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/0.8889, allocations: 8 kB / 0.6227 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02952/0.9184, allocations: 5.348 MB / 0.6279 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.9185, allocations: 0 / 0.6279 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.919, allocations: 59.89 kB / 0.6279 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04834/0.9674, allocations: 7.865 MB / 0.6356 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000656/0.9681, allocations: 231.8 kB / 0.6358 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03063/0.9987, allocations: 13.37 MB / 0.6489 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.9988, allocations: 0 / 0.6489 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02611/1.025, allocations: 4.476 MB / 0.6533 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/1.025, allocations: 128.4 kB / 0.6534 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005948/1.026, allocations: 183.9 kB / 0.6536 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009923/1.027, allocations: 35.94 kB / 0.6536 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006826/1.028, allocations: 136.2 kB / 0.6537 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003517/1.028, allocations: 167.9 kB / 0.6539 GB, free: 11.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004326/1.028, allocations: 243 kB / 0.6541 GB, free: 11.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.028, allocations: 4 kB / 0.6541 GB, free: 11.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002167/1.031, allocations: 379.9 kB / 0.6545 GB, free: 10.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004611/1.031, allocations: 157.5 kB / 0.6546 GB, free: 10.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007772/1.039, allocations: 2.329 MB / 0.6569 GB, free: 8.219 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.039, allocations: 0 / 0.6569 GB, free: 8.219 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006061/1.045, allocations: 1.533 MB / 0.6584 GB, free: 6.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.046, allocations: 101.9 kB / 0.6585 GB, free: 6.562 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008041/1.054, allocations: 3.296 MB / 0.6617 GB, free: 3.223 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008027/1.055, allocations: 0.9852 MB / 0.6627 GB, free: 2.211 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/1.055, allocations: 43.44 kB / 0.6627 GB, free: 2.168 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/1.055, allocations: 4 kB / 0.6627 GB, free: 2.164 MB / 458.7 MB Notification: Performance of Templates: time 0.05056/1.106, allocations: 22.66 MB / 0.6849 GB, free: 11.49 MB / 490.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)