Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009764/0.0009765, allocations: 176.4 kB / 16.77 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007849/0.0007847, allocations: 95.89 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.166/0.166, allocations: 38.08 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003357, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2641, allocations: 56.32 MB / 480.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.3932, allocations: 103.8 MB / 0.5704 GB, free: 14.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.3935, allocations: 87.95 kB / 0.5705 GB, free: 14.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06951/0.463, allocations: 25.8 MB / 0.5957 GB, free: 4.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4631, allocations: 0 / 0.5957 GB, free: 4.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.337e-05/0.4631, allocations: 23.94 kB / 0.5957 GB, free: 4.297 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002045/0.4652, allocations: 1.175 MB / 0.5968 GB, free: 3.059 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.4652, allocations: 12.03 kB / 0.5969 GB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000813/0.466, allocations: 181.2 kB / 0.597 GB, free: 2.871 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.4678, allocations: 1.007 MB / 0.598 GB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.4679, allocations: 62 kB / 0.5981 GB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.468, allocations: 87.84 kB / 0.5982 GB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.4698, allocations: 1.148 MB / 0.5993 GB, free: 460 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.4698, allocations: 15.94 kB / 0.5993 GB, free: 444 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.89e-05/0.4699, allocations: 32 kB / 0.5993 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.795e-05/0.47, allocations: 49.98 kB / 0.5994 GB, free: 360 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.4714, allocations: 0.8898 MB / 0.6002 GB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005278/0.4767, allocations: 4.712 MB / 0.6048 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.4778, allocations: 0.6706 MB / 0.6055 GB, free: 9.859 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.4784, allocations: 399.8 kB / 0.6059 GB, free: 9.465 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/0.4784, allocations: 4.562 kB / 0.6059 GB, free: 9.461 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006326/0.4791, allocations: 471.7 kB / 0.6063 GB, free: 8.973 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 2.665e-06/0.4791, allocations: 3.938 kB / 0.6063 GB, free: 8.969 MB / 442.7 MB Notification: Performance of matching and sorting (n=70): time 0.005542/0.4846, allocations: 2.592 MB / 0.6089 GB, free: 6.309 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.4848, allocations: 170.8 kB / 0.609 GB, free: 6.105 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/0.4854, allocations: 0.5822 MB / 0.6096 GB, free: 5.516 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.4855, allocations: 37.7 kB / 0.6096 GB, free: 5.473 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.4858, allocations: 474.8 kB / 0.6101 GB, free: 5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.486, allocations: 240.7 kB / 0.6103 GB, free: 4.762 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.4861, allocations: 19.94 kB / 0.6103 GB, free: 4.742 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4862, allocations: 386.8 kB / 0.6107 GB, free: 4.355 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.4867, allocations: 297.8 kB / 0.611 GB, free: 4.066 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.4873, allocations: 0.5528 MB / 0.6115 GB, free: 3.398 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.4884, allocations: 0.9667 MB / 0.6125 GB, free: 2.305 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4885, allocations: 7.922 kB / 0.6125 GB, free: 2.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001978/0.4904, allocations: 1.239 MB / 0.6137 GB, free: 1.039 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.4905, allocations: 37.69 kB / 0.6137 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4905, allocations: 12 kB / 0.6137 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.4916, allocations: 342.1 kB / 0.6141 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.492, allocations: 147.7 kB / 0.6142 GB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/0.4975, allocations: 4.969 MB / 0.6191 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.4981, allocations: 35.98 kB / 0.6191 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.4981, allocations: 39.98 kB / 0.6191 GB, free: 11.16 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,switch.control[1],$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 76 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005811/0.4987, allocations: 370.9 kB / 0.6195 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4988, allocations: 75.06 kB / 0.6195 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.5008, allocations: 1.089 MB / 0.6206 GB, free: 9.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.5008, allocations: 16 kB / 0.6206 GB, free: 9.574 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5008, allocations: 4 kB / 0.6206 GB, free: 9.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.5008, allocations: 7.922 kB / 0.6206 GB, free: 9.562 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.504, allocations: 2.129 MB / 0.6227 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.5041, allocations: 4 kB / 0.6227 GB, free: 7.344 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.5044, allocations: 71.89 kB / 0.6228 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008611/0.5052, allocations: 321.7 kB / 0.6231 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.5053, allocations: 16 kB / 0.6231 GB, free: 6.938 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/0.5105, allocations: 4.892 MB / 0.6279 GB, free: 1.754 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5105, allocations: 4 kB / 0.6279 GB, free: 1.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.5123, allocations: 1.16 MB / 0.629 GB, free: 0.543 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.5125, allocations: 144.2 kB / 0.6292 GB, free: 392 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.128e-05/0.5126, allocations: 20 kB / 0.6292 GB, free: 372 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.513, allocations: 31.95 kB / 0.6292 GB, free: 340 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.5131, allocations: 52.44 kB / 0.6293 GB, free: 288 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.5132, allocations: 19.98 kB / 0.6293 GB, free: 268 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004956/0.5137, allocations: 411 kB / 0.6297 GB, free: 15.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5137, allocations: 0 / 0.6297 GB, free: 15.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00103/0.5147, allocations: 299.9 kB / 0.63 GB, free: 15.57 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.closed,switch.control[1],$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002958/0.515, allocations: 178.2 kB / 0.6301 GB, free: 15.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.5168, allocations: 1.183 MB / 0.6313 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5168, allocations: 0 / 0.6313 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.5179, allocations: 0.7957 MB / 0.6321 GB, free: 13.33 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009304/0.5189, allocations: 158.9 kB / 0.6322 GB, free: 13.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.5219, allocations: 2.232 MB / 0.6344 GB, free: 10.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.5226, allocations: 1.099 MB / 0.6355 GB, free: 9.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.5228, allocations: 59.42 kB / 0.6355 GB, free: 9.711 MB / 474.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5228, allocations: 0 / 0.6355 GB, free: 9.711 MB / 474.7 MB Notification: Performance of Templates: time 0.2188/0.7417, allocations: 17.39 MB / 0.6525 GB, free: 135.2 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1)