Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002006/0.002006, allocations: 169.4 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.777/2.777, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0009821/0.0009824, allocations: 74.44 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2291/0.2291, allocations: 38.09 MB / 357.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004146, allocations: 12 kB / 423.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3702, allocations: 56.32 MB / 480.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/0.5237, allocations: 102.5 MB / 0.5691 GB, free: 15.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.5241, allocations: 95.95 kB / 0.5692 GB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09346/0.6176, allocations: 32.5 MB / 0.6009 GB, free: 14.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6176, allocations: 0 / 0.6009 GB, free: 14.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.517e-05/0.6177, allocations: 32 kB / 0.601 GB, free: 14.84 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002982/0.6207, allocations: 1.438 MB / 0.6024 GB, free: 13.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.6207, allocations: 12.03 kB / 0.6024 GB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.6224, allocations: 275 kB / 0.6026 GB, free: 13.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.625, allocations: 1.321 MB / 0.6039 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.6251, allocations: 86.33 kB / 0.604 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.6254, allocations: 120 kB / 0.6041 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.6283, allocations: 1.803 MB / 0.6059 GB, free: 9.512 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.6283, allocations: 7.938 kB / 0.6059 GB, free: 9.504 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.6284, allocations: 55.98 kB / 0.6059 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.6286, allocations: 86.08 kB / 0.606 GB, free: 9.363 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.6308, allocations: 1.382 MB / 0.6074 GB, free: 7.973 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009368/0.6402, allocations: 7.971 MB / 0.6152 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.6416, allocations: 0.9488 MB / 0.6161 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008411/0.6425, allocations: 0.5746 MB / 0.6166 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.6425, allocations: 16.97 kB / 0.6167 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.6426, allocations: 43.56 kB / 0.6167 GB, free: 14.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 3.567e-06/0.6426, allocations: 0 / 0.6167 GB, free: 14.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=99): time 0.005089/0.6477, allocations: 2.91 MB / 0.6195 GB, free: 11.08 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.6478, allocations: 90.05 kB / 0.6196 GB, free: 10.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.6488, allocations: 0.7664 MB / 0.6204 GB, free: 10.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.6489, allocations: 45.64 kB / 0.6204 GB, free: 10.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004821/0.6494, allocations: 0.6459 MB / 0.621 GB, free: 9.496 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.6497, allocations: 350.9 kB / 0.6214 GB, free: 9.148 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/0.6498, allocations: 20 kB / 0.6214 GB, free: 9.129 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.65, allocations: 422.7 kB / 0.6218 GB, free: 8.707 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007887/0.6508, allocations: 0.503 MB / 0.6223 GB, free: 8.199 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.652, allocations: 0.9905 MB / 0.6233 GB, free: 6.988 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.6542, allocations: 1.645 MB / 0.6249 GB, free: 5.125 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.6542, allocations: 4 kB / 0.6249 GB, free: 5.121 MB / 458.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003314/0.6575, allocations: 1.842 MB / 0.6267 GB, free: 3.258 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.6576, allocations: 16.03 kB / 0.6267 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002067/0.6597, allocations: 1.156 MB / 0.6278 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009062/0.6606, allocations: 258.2 kB / 0.6281 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.6616, allocations: 303.5 kB / 0.6284 GB, free: 1.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004695/0.6663, allocations: 4.779 MB / 0.633 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.6674, allocations: 63.95 kB / 0.6331 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.6675, allocations: 71.89 kB / 0.6331 GB, free: 12.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * 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%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008363/0.6683, allocations: 421.2 kB / 0.6336 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.6685, allocations: 106.7 kB / 0.6337 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.6705, allocations: 1.149 MB / 0.6348 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-05/0.6706, allocations: 23.98 kB / 0.6348 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6706, allocations: 3.938 kB / 0.6348 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.6706, allocations: 7.984 kB / 0.6348 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004399/0.675, allocations: 2.43 MB / 0.6372 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.675, allocations: 0 / 0.6372 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009693/0.676, allocations: 207.7 kB / 0.6374 GB, free: 7.773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.676, allocations: 8 kB / 0.6374 GB, free: 7.766 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.6761, allocations: 23.98 kB / 0.6374 GB, free: 7.742 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.6761, allocations: 4 kB / 0.6374 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.6761, allocations: 8.188 kB / 0.6374 GB, free: 7.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.6785, allocations: 1.727 MB / 0.6391 GB, free: 5.965 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.6788, allocations: 167.9 kB / 0.6393 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6789, allocations: 23.98 kB / 0.6393 GB, free: 5.758 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.6794, allocations: 43.94 kB / 0.6393 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.6795, allocations: 52.88 kB / 0.6394 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.279e-05/0.6796, allocations: 28.08 kB / 0.6394 GB, free: 5.637 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007044/0.6803, allocations: 0.5106 MB / 0.6399 GB, free: 5.125 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6803, allocations: 0 / 0.6399 GB, free: 5.125 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001287/0.6816, allocations: 348.1 kB / 0.6402 GB, free: 4.785 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 4 * 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.0003785/0.682, allocations: 202.9 kB / 0.6404 GB, free: 4.578 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.6845, allocations: 1.613 MB / 0.642 GB, free: 2.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6846, allocations: 0 / 0.642 GB, free: 2.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00071/0.6853, allocations: 0.5057 MB / 0.6425 GB, free: 2.426 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.6864, allocations: 175.8 kB / 0.6427 GB, free: 2.258 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2218/0.9082, allocations: 3.533 MB / 0.6461 GB, free: 131.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.9094, allocations: 1.257 MB / 0.6473 GB, free: 131.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/0.91, allocations: 91.58 kB / 0.6474 GB, free: 131.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/0.91, allocations: 1.344 kB / 0.6474 GB, free: 131.1 MB / 474.7 MB Notification: Performance of Templates: time 0.04045/0.9504, allocations: 21.11 MB / 0.6681 GB, free: 130 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)