Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationFixedInitial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002362/0.002362, allocations: 189 kB / 8.013 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.152/2.152, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001082/0.001082, allocations: 86.62 kB / 261.8 MB, free: 1.68 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.2595/0.2595, allocations: 38 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.094e-05, allocations: 4 kB / 409.8 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5153/0.6218, allocations: 103 MB / 0.5558 GB, free: 8.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.6221, allocations: 83.42 kB / 0.5559 GB, free: 8.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1184/0.7405, allocations: 25.64 MB / 0.5809 GB, free: 2.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.43e-06/0.7406, allocations: 3.984 kB / 0.5809 GB, free: 2.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001169/0.7407, allocations: 24 kB / 0.581 GB, free: 2.867 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004199/0.7449, allocations: 1.086 MB / 0.582 GB, free: 1.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.745, allocations: 12.03 kB / 0.582 GB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.7473, allocations: 178.5 kB / 0.5822 GB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005889/0.7532, allocations: 1.36 MB / 0.5835 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.7533, allocations: 31.94 kB / 0.5836 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.7536, allocations: 55.91 kB / 0.5836 GB, free: 372 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002669/0.7563, allocations: 0.8092 MB / 0.5844 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.7598, allocations: 1.066 MB / 0.5854 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.751e-05/0.7599, allocations: 4 kB / 0.5854 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.76, allocations: 4 kB / 0.5854 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.7602, allocations: 53.3 kB / 0.5855 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/0.7719, allocations: 4.52 MB / 0.5899 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.7739, allocations: 0.6314 MB / 0.5905 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.7751, allocations: 447.7 kB / 0.591 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.37e-05/0.7752, allocations: 16.48 kB / 0.591 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.7764, allocations: 0.4968 MB / 0.5915 GB, free: 9.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 4.168e-06/0.7764, allocations: 4 kB / 0.5915 GB, free: 9.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.006793/0.7832, allocations: 2.346 MB / 0.5938 GB, free: 7.734 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.7834, allocations: 163 kB / 0.5939 GB, free: 7.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008299/0.7842, allocations: 455.7 kB / 0.5943 GB, free: 7.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.7844, allocations: 29.7 kB / 0.5944 GB, free: 7.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.7849, allocations: 0.4908 MB / 0.5949 GB, free: 6.758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.7853, allocations: 251.5 kB / 0.5951 GB, free: 6.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.7853, allocations: 0 / 0.5951 GB, free: 6.539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.7855, allocations: 353.9 kB / 0.5954 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008758/0.7864, allocations: 369.3 kB / 0.5958 GB, free: 5.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.7875, allocations: 0.5898 MB / 0.5964 GB, free: 5.414 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.01967/0.8072, allocations: 3.708 MB / 0.6 GB, free: 2.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.8073, allocations: 0 / 0.6 GB, free: 2.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00409/0.8114, allocations: 1.193 MB / 0.6011 GB, free: 1.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.8115, allocations: 37.69 kB / 0.6012 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.8115, allocations: 12.06 kB / 0.6012 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.8126, allocations: 231 kB / 0.6014 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/0.8152, allocations: 274.8 kB / 0.6017 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008481/0.8237, allocations: 5.4 MB / 0.6069 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.8249, allocations: 23.97 kB / 0.607 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.825, allocations: 43.98 kB / 0.607 GB, free: 11.28 MB / 410.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,$whenCondition2,switch.control[1],$PRE.switch.t0,switch.t0,$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003992/0.8255, allocations: 179.4 kB / 0.6072 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.8257, allocations: 75.06 kB / 0.6073 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/0.8291, allocations: 1.08 MB / 0.6083 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.628e-05/0.8292, allocations: 12 kB / 0.6083 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.8292, allocations: 4 kB / 0.6083 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.8293, allocations: 7.922 kB / 0.6083 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006642/0.8359, allocations: 2.1 MB / 0.6104 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.836, allocations: 0 / 0.6104 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/0.8381, allocations: 199.7 kB / 0.6106 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.8395, allocations: 254.4 kB / 0.6108 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.8397, allocations: 15.98 kB / 0.6108 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009582/0.8493, allocations: 5.314 MB / 0.616 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/0.8493, allocations: 8.016 kB / 0.616 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004612/0.854, allocations: 1.669 MB / 0.6177 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.8544, allocations: 148.1 kB / 0.6178 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.8546, allocations: 12.06 kB / 0.6178 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007819/0.8554, allocations: 23.95 kB / 0.6178 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.8557, allocations: 60.42 kB / 0.6179 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.422e-05/0.8558, allocations: 27.94 kB / 0.6179 GB, free: 15.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006723/0.8565, allocations: 355.2 kB / 0.6183 GB, free: 15.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.8565, allocations: 0 / 0.6183 GB, free: 15.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001861/0.8583, allocations: 280 kB / 0.6185 GB, free: 14.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004675/0.8588, allocations: 186.8 kB / 0.6187 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003308/0.8622, allocations: 1.322 MB / 0.62 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.8622, allocations: 4.438 kB / 0.62 GB, free: 13.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.8644, allocations: 0.8969 MB / 0.6209 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.8658, allocations: 147.5 kB / 0.621 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/0.8708, allocations: 1.85 MB / 0.6228 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.8719, allocations: 1.135 MB / 0.6239 GB, free: 9.211 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/0.8724, allocations: 59.42 kB / 0.624 GB, free: 9.156 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.8724, allocations: 3.938 kB / 0.624 GB, free: 9.152 MB / 426.7 MB Notification: Performance of Templates: time 0.04236/0.9148, allocations: 20.52 MB / 0.644 GB, free: 4.609 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationFixedInitial --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1)