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.001558/0.001558, allocations: 185.5 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.2 MB / 218.9 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 91.84 kB / 267.1 MB, free: 9.281 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.2898/0.2898, allocations: 37.97 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.162e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 56.31 MB / 473.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5784/0.7071, allocations: 104.5 MB / 0.5641 GB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.7075, allocations: 87.95 kB / 0.5642 GB, free: 15.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0774/0.7849, allocations: 17.46 MB / 0.5813 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.785, allocations: 0 / 0.5813 GB, free: 13.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.909e-05/0.7851, allocations: 16 kB / 0.5813 GB, free: 13.45 MB / 426.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.002219/0.7873, allocations: 0.7694 MB / 0.582 GB, free: 12.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.7873, allocations: 16.03 kB / 0.582 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.7893, allocations: 155 kB / 0.5822 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005162/0.7944, allocations: 1.202 MB / 0.5834 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.7945, allocations: 33 kB / 0.5834 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.7948, allocations: 63.95 kB / 0.5835 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.7968, allocations: 0.8311 MB / 0.5843 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.7968, allocations: 7.906 kB / 0.5843 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/0.7969, allocations: 23.94 kB / 0.5843 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002993/0.7973, allocations: 32.77 kB / 0.5843 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.7988, allocations: 0.5926 MB / 0.5849 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02056/0.8194, allocations: 5.76 MB / 0.5905 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.8213, allocations: 0.7531 MB / 0.5913 GB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.8227, allocations: 0.6423 MB / 0.5919 GB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.8228, allocations: 12.42 kB / 0.5919 GB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.8229, allocations: 42.94 kB / 0.5919 GB, free: 2.172 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 5.79e-06/0.8229, allocations: 0 / 0.5919 GB, free: 2.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.0292/0.8521, allocations: 5.315 MB / 0.5971 GB, free: 12.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.8522, allocations: 93.53 kB / 0.5972 GB, free: 12.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006985/0.8529, allocations: 355 kB / 0.5976 GB, free: 12.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000254/0.8532, allocations: 29.7 kB / 0.5976 GB, free: 12.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.8535, allocations: 366.2 kB / 0.5979 GB, free: 11.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.854, allocations: 261 kB / 0.5982 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.8541, allocations: 12 kB / 0.5982 GB, free: 11.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.8544, allocations: 350.8 kB / 0.5985 GB, free: 11.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.8564, allocations: 0.7866 MB / 0.5993 GB, free: 10.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.8585, allocations: 1.006 MB / 0.6003 GB, free: 9.441 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.8607, allocations: 0.8919 MB / 0.6012 GB, free: 8.547 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.8608, allocations: 3.938 kB / 0.6012 GB, free: 8.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.03085/0.8916, allocations: 5.345 MB / 0.6064 GB, free: 3.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.8917, allocations: 8 kB / 0.6064 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0227/0.9144, allocations: 4.254 MB / 0.6105 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03488/0.9494, allocations: 5.839 MB / 0.6162 GB, free: 9.059 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009116/0.9503, allocations: 119.8 kB / 0.6164 GB, free: 8.941 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0299/0.9803, allocations: 10.96 MB / 0.6271 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.9815, allocations: 55.94 kB / 0.6271 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003755/0.9819, allocations: 163.9 kB / 0.6273 GB, free: 13.62 MB / 474.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.0004003/0.9823, allocations: 152.7 kB / 0.6274 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.9825, allocations: 51.34 kB / 0.6275 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02564/1.008, allocations: 4.056 MB / 0.6314 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-05/1.008, allocations: 11.98 kB / 0.6314 GB, free: 9.324 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/1.008, allocations: 4 kB / 0.6314 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/1.008, allocations: 4 kB / 0.6315 GB, free: 9.316 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03006/1.038, allocations: 5.465 MB / 0.6368 GB, free: 3.773 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/1.038, allocations: 4 kB / 0.6368 GB, free: 3.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/1.039, allocations: 63.89 kB / 0.6369 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.352/1.391, allocations: 7.956 MB / 0.6446 GB, free: 139.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007238/1.392, allocations: 235.3 kB / 0.6448 GB, free: 139.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03148/1.423, allocations: 13.63 MB / 0.6582 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.423, allocations: 1.25 kB / 0.6582 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02567/1.449, allocations: 4.528 MB / 0.6626 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/1.449, allocations: 128.8 kB / 0.6627 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005665/1.45, allocations: 195 kB / 0.6629 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009878/1.451, allocations: 42.28 kB / 0.6629 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000791/1.452, allocations: 149.4 kB / 0.6631 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003034/1.452, allocations: 162.7 kB / 0.6632 GB, free: 135.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003912/1.453, allocations: 268.7 kB / 0.6635 GB, free: 135.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.453, allocations: 0 / 0.6635 GB, free: 135.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001844/1.454, allocations: 383.3 kB / 0.6639 GB, free: 135.3 MB / 474.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.0004351/1.455, allocations: 179.2 kB / 0.664 GB, free: 135.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007001/1.462, allocations: 2.393 MB / 0.6664 GB, free: 134.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.462, allocations: 0 / 0.6664 GB, free: 134.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005529/1.467, allocations: 1.566 MB / 0.6679 GB, free: 133.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009018/1.468, allocations: 108 kB / 0.668 GB, free: 133.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00686/1.475, allocations: 3.326 MB / 0.6712 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/1.476, allocations: 0.9863 MB / 0.6722 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/1.476, allocations: 44.91 kB / 0.6722 GB, free: 131.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.414e-06/1.476, allocations: 0 / 0.6722 GB, free: 131.4 MB / 474.7 MB Notification: Performance of Templates: time 0.0398/1.516, allocations: 22.79 MB / 0.6945 GB, free: 119.9 MB / 474.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)