Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 181.4 kB / 15.76 MB, free: 6.344 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.088/2.088, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001081/0.001081, allocations: 106.7 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2618/0.2618, allocations: 38.05 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004977, allocations: 8 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 56.32 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5318/0.6571, allocations: 102.5 MB / 0.5679 GB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.6574, allocations: 102.4 kB / 0.568 GB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1484/0.8059, allocations: 32.58 MB / 0.5998 GB, free: 1.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.8059, allocations: 0 / 0.5998 GB, free: 1.316 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.142e-05/0.806, allocations: 32 kB / 0.5998 GB, free: 1.285 MB / 394.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.005144/0.8112, allocations: 1.449 MB / 0.6012 GB, free: 15.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.8113, allocations: 8.031 kB / 0.6012 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.8142, allocations: 276.6 kB / 0.6015 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006914/0.8211, allocations: 1.789 MB / 0.6032 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.8213, allocations: 89.02 kB / 0.6033 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/0.8217, allocations: 116.9 kB / 0.6034 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/0.8259, allocations: 1.784 MB / 0.6052 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.388e-05/0.826, allocations: 19.77 kB / 0.6052 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.8262, allocations: 56.98 kB / 0.6053 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/0.8264, allocations: 81.64 kB / 0.6053 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003844/0.8302, allocations: 1.38 MB / 0.6067 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/0.8449, allocations: 7.966 MB / 0.6145 GB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.8469, allocations: 0.9471 MB / 0.6154 GB, free: 3.238 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.847, allocations: 17.03 kB / 0.6154 GB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.8471, allocations: 42.19 kB / 0.6154 GB, free: 3.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=98): time 4.338e-06/0.8471, allocations: 0 / 0.6154 GB, free: 3.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=99): time 0.007642/0.8547, allocations: 3.229 MB / 0.6186 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.8549, allocations: 86.11 kB / 0.6187 GB, free: 448 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.8563, allocations: 0.6797 MB / 0.6193 GB, free: 15.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.8564, allocations: 37.7 kB / 0.6194 GB, free: 15.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005983/0.857, allocations: 0.6638 MB / 0.62 GB, free: 15.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000454/0.8575, allocations: 355 kB / 0.6204 GB, free: 14.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.8576, allocations: 24.12 kB / 0.6204 GB, free: 14.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.8578, allocations: 374.7 kB / 0.6207 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.8592, allocations: 0.499 MB / 0.6212 GB, free: 13.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.861, allocations: 0.9866 MB / 0.6222 GB, free: 12.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.8628, allocations: 0.6977 MB / 0.6229 GB, free: 11.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.8628, allocations: 4 kB / 0.6229 GB, free: 11.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005319/0.8681, allocations: 1.807 MB / 0.6246 GB, free: 10.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.8682, allocations: 14.81 kB / 0.6247 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003615/0.8719, allocations: 1.156 MB / 0.6258 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/0.8734, allocations: 254.6 kB / 0.626 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.8756, allocations: 295.5 kB / 0.6263 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007073/0.8827, allocations: 4.861 MB / 0.6311 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.8843, allocations: 67.91 kB / 0.6311 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.8845, allocations: 60 kB / 0.6312 GB, free: 3.027 MB / 426.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.00106/0.8855, allocations: 422.1 kB / 0.6316 GB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.8858, allocations: 98.78 kB / 0.6317 GB, free: 2.508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.889, allocations: 1.164 MB / 0.6328 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.999e-05/0.8891, allocations: 20 kB / 0.6328 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8892, allocations: 0 / 0.6328 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.8892, allocations: 7.984 kB / 0.6328 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007813/0.897, allocations: 2.438 MB / 0.6352 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.8971, allocations: 0 / 0.6352 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002103/0.8992, allocations: 204 kB / 0.6354 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.072e-05/0.8993, allocations: 11.94 kB / 0.6354 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.8994, allocations: 24.19 kB / 0.6355 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/0.8994, allocations: 7.984 kB / 0.6355 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.8995, allocations: 7.938 kB / 0.6355 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004378/0.9038, allocations: 1.797 MB / 0.6372 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/0.9044, allocations: 175.8 kB / 0.6374 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.9046, allocations: 27.98 kB / 0.6374 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/0.9056, allocations: 51.92 kB / 0.6375 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.9058, allocations: 48.89 kB / 0.6375 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.963e-05/0.9059, allocations: 31.98 kB / 0.6375 GB, free: 12.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.907, allocations: 0.5068 MB / 0.638 GB, free: 11.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.907, allocations: 0 / 0.638 GB, free: 11.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001857/0.9089, allocations: 339.9 kB / 0.6384 GB, free: 11.48 MB / 442.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.000531/0.9094, allocations: 203 kB / 0.6386 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004236/0.9137, allocations: 1.616 MB / 0.6401 GB, free: 9.613 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.9137, allocations: 1.125 kB / 0.6401 GB, free: 9.613 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.9151, allocations: 0.5056 MB / 0.6406 GB, free: 9.109 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.9166, allocations: 163.4 kB / 0.6408 GB, free: 8.945 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008081/0.9247, allocations: 3.524 MB / 0.6442 GB, free: 5.371 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.9262, allocations: 1.284 MB / 0.6455 GB, free: 4.055 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006859/0.9269, allocations: 91.42 kB / 0.6456 GB, free: 3.965 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.9269, allocations: 0 / 0.6456 GB, free: 3.965 MB / 442.7 MB Notification: Performance of Templates: time 0.04656/0.9735, allocations: 20.53 MB / 0.6656 GB, free: 15.39 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)