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.002108/0.002114, allocations: 184.3 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.022/2.022, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001095/0.001095, allocations: 93.28 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.3072/0.3072, allocations: 37.98 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.572e-05, allocations: 4 kB / 416.8 MB, free: 41.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 56.32 MB / 473.1 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4791/0.5806, allocations: 102.4 MB / 0.562 GB, free: 1.336 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/0.581, allocations: 87.95 kB / 0.5621 GB, free: 1.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.148/0.7291, allocations: 32.55 MB / 0.5939 GB, free: 308 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7292, allocations: 3.938 kB / 0.5939 GB, free: 304 kB / 426.7 MB Notification: Performance of Transformations before backend: time 9.21e-05/0.7293, allocations: 28 kB / 0.5939 GB, free: 276 kB / 426.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.004516/0.7338, allocations: 1.313 MB / 0.5952 GB, free: 14.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.7339, allocations: 8.031 kB / 0.5952 GB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/0.7368, allocations: 278 kB / 0.5955 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007209/0.744, allocations: 1.772 MB / 0.5972 GB, free: 12.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.7442, allocations: 86.33 kB / 0.5973 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003989/0.7446, allocations: 127.9 kB / 0.5974 GB, free: 12.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/0.749, allocations: 1.769 MB / 0.5991 GB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.327e-05/0.7491, allocations: 11.94 kB / 0.5991 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.7493, allocations: 48 kB / 0.5992 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/0.7495, allocations: 86.08 kB / 0.5993 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/0.7533, allocations: 1.355 MB / 0.6006 GB, free: 9.137 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/0.7683, allocations: 7.97 MB / 0.6084 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.7704, allocations: 0.9394 MB / 0.6093 GB, free: 15.87 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.7718, allocations: 0.5585 MB / 0.6098 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.772, allocations: 16.75 kB / 0.6099 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.772, allocations: 43.34 kB / 0.6099 GB, free: 15.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 4.539e-06/0.7721, allocations: 0 / 0.6099 GB, free: 15.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=99): time 0.006709/0.7788, allocations: 2.478 MB / 0.6123 GB, free: 12.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.7789, allocations: 85.89 kB / 0.6124 GB, free: 12.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.7803, allocations: 0.672 MB / 0.6131 GB, free: 11.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.7805, allocations: 41.64 kB / 0.6131 GB, free: 11.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006331/0.7811, allocations: 0.66 MB / 0.6137 GB, free: 11.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004847/0.7816, allocations: 358.9 kB / 0.6141 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.7818, allocations: 28 kB / 0.6141 GB, free: 10.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.782, allocations: 370.7 kB / 0.6145 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.7833, allocations: 0.4914 MB / 0.6149 GB, free: 9.957 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.7852, allocations: 0.9752 MB / 0.6159 GB, free: 8.766 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.7871, allocations: 0.6916 MB / 0.6166 GB, free: 8.074 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.7871, allocations: 4 kB / 0.6166 GB, free: 8.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005415/0.7925, allocations: 1.787 MB / 0.6183 GB, free: 6.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.7926, allocations: 12 kB / 0.6183 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003562/0.7962, allocations: 1.138 MB / 0.6194 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.7977, allocations: 250.5 kB / 0.6197 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.8, allocations: 307.5 kB / 0.62 GB, free: 4.555 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00712/0.8071, allocations: 4.771 MB / 0.6246 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.8088, allocations: 71.84 kB / 0.6247 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.809, allocations: 64 kB / 0.6248 GB, free: 15.25 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 () * 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.000377/0.8094, allocations: 188.5 kB / 0.6249 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.8096, allocations: 98.78 kB / 0.625 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003263/0.8129, allocations: 1.139 MB / 0.6261 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.759e-05/0.813, allocations: 28 kB / 0.6262 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.813, allocations: 4 kB / 0.6262 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.8131, allocations: 11.94 kB / 0.6262 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007405/0.8205, allocations: 2.41 MB / 0.6285 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.8205, allocations: 4 kB / 0.6285 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/0.8225, allocations: 207.7 kB / 0.6287 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.8226, allocations: 4 kB / 0.6287 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.8227, allocations: 20 kB / 0.6288 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/0.8227, allocations: 12.19 kB / 0.6288 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.8227, allocations: 7.969 kB / 0.6288 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/0.8269, allocations: 1.774 MB / 0.6305 GB, free: 9.172 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/0.8274, allocations: 163.9 kB / 0.6307 GB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.8276, allocations: 24 kB / 0.6307 GB, free: 8.969 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/0.8286, allocations: 47.94 kB / 0.6307 GB, free: 8.922 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.8288, allocations: 60.69 kB / 0.6308 GB, free: 8.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.196e-05/0.8289, allocations: 24 kB / 0.6308 GB, free: 8.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001073/0.83, allocations: 0.4991 MB / 0.6313 GB, free: 8.344 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.83, allocations: 4 kB / 0.6313 GB, free: 8.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001755/0.8318, allocations: 339.9 kB / 0.6316 GB, free: 8.008 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 () * 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.0005684/0.8324, allocations: 219.1 kB / 0.6318 GB, free: 7.781 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004138/0.8365, allocations: 1.589 MB / 0.6334 GB, free: 6.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.8366, allocations: 0 / 0.6334 GB, free: 6.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.8379, allocations: 0.4939 MB / 0.6339 GB, free: 5.668 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.8392, allocations: 163.2 kB / 0.634 GB, free: 5.508 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/0.8455, allocations: 2.52 MB / 0.6365 GB, free: 2.934 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.8469, allocations: 1.276 MB / 0.6377 GB, free: 1.625 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/0.8477, allocations: 99.41 kB / 0.6378 GB, free: 1.527 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/0.8477, allocations: 0 / 0.6378 GB, free: 1.527 MB / 474.7 MB Notification: Performance of Templates: time 0.3998/1.248, allocations: 20.52 MB / 0.6579 GB, free: 127 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)