Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-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(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005894/0.005894, allocations: 170.6 kB / 15.11 MB, free: 6.027 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.302/1.302, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0008782/0.0008782, allocations: 86.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06022/0.06022, allocations: 12.6 MB / 330.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4071/0.4071, allocations: 78.51 MB / 460 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004951, allocations: 16.78 kB / 0.5285 GB, free: 35.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1254, allocations: 69.34 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.5067, allocations: 102.2 MB / 0.6959 GB, free: 99.09 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.5069, allocations: 85.64 kB / 0.696 GB, free: 99.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1508/0.6577, allocations: 66.24 MB / 0.7607 GB, free: 49 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6578, allocations: 0 / 0.7607 GB, free: 49 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001542/0.6579, allocations: 63.88 kB / 0.7608 GB, free: 48.94 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01279/0.6707, allocations: 4.68 MB / 0.7653 GB, free: 44.17 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.6708, allocations: 23.92 kB / 0.7654 GB, free: 44.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009702/0.6805, allocations: 1.611 MB / 0.7669 GB, free: 42.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003965/0.6845, allocations: 1.736 MB / 0.7686 GB, free: 40.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/0.685, allocations: 0.6867 MB / 0.7693 GB, free: 39.94 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/0.6854, allocations: 204 kB / 0.7695 GB, free: 39.74 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005441/0.6909, allocations: 3.247 MB / 0.7727 GB, free: 36.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.6909, allocations: 0 / 0.7727 GB, free: 36.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/0.6912, allocations: 80 kB / 0.7727 GB, free: 36.33 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.6912, allocations: 52 kB / 0.7728 GB, free: 36.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005192/0.6964, allocations: 3.038 MB / 0.7758 GB, free: 33.22 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/0.7126, allocations: 10.11 MB / 0.7856 GB, free: 22.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009772/0.7224, allocations: 4.779 MB / 0.7903 GB, free: 17.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.7228, allocations: 38.03 kB / 0.7903 GB, free: 17.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.7229, allocations: 72.55 kB / 0.7904 GB, free: 17.63 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 4.829e-06/0.7229, allocations: 0 / 0.7904 GB, free: 17.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=244): time 0.1118/0.8347, allocations: 33.01 MB / 0.8226 GB, free: 0.543 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.8349, allocations: 231.6 kB / 0.8229 GB, free: 272 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003449/0.8383, allocations: 1.964 MB / 0.8248 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008847/0.8392, allocations: 65.7 kB / 0.8248 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.8403, allocations: 1.231 MB / 0.826 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.8415, allocations: 0.8393 MB / 0.8269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.8417, allocations: 51.94 kB / 0.8269 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.8419, allocations: 386.7 kB / 0.8273 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003897/0.8458, allocations: 1.89 MB / 0.8291 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004005/0.8498, allocations: 2.202 MB / 0.8313 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004165/0.854, allocations: 2.115 MB / 0.8333 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.854, allocations: 3.984 kB / 0.8334 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.04084/0.8949, allocations: 14.44 MB / 0.8475 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001177/0.8961, allocations: 2.88 MB / 0.8503 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.8961, allocations: 4 kB / 0.8503 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01919/0.9153, allocations: 6.391 MB / 0.8565 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.9175, allocations: 367.5 kB / 0.8569 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06027/0.9778, allocations: 27.42 MB / 0.8836 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004264/0.9821, allocations: 0.5211 MB / 0.8841 GB, free: 0.6914 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000374/0.9825, allocations: 83.97 kB / 0.8842 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9826, allocations: 5.25 kB / 0.8842 GB, free: 0.6055 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03937/1.022, allocations: 14.11 MB / 0.898 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-05/1.022, allocations: 7.984 kB / 0.898 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01934/1.041, allocations: 6.384 MB / 0.9042 GB, free: 12.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/1.044, allocations: 355.5 kB / 0.9046 GB, free: 11.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3463/1.39, allocations: 27.41 MB / 0.9314 GB, free: 145.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/1.394, allocations: 0.4963 MB / 0.9318 GB, free: 145.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/1.395, allocations: 87.33 kB / 0.9319 GB, free: 145.8 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001597/1.396, allocations: 0.5808 MB / 0.9325 GB, free: 145.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005959/1.397, allocations: 298 kB / 0.9328 GB, free: 145.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03861/1.435, allocations: 14.57 MB / 0.947 GB, free: 145.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.625e-05/1.436, allocations: 25.81 kB / 0.947 GB, free: 145.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.879e-05/1.436, allocations: 17.69 kB / 0.947 GB, free: 145.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-05/1.436, allocations: 10.73 kB / 0.9471 GB, free: 145.2 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04349/1.479, allocations: 18.33 MB / 0.965 GB, free: 144.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-05/1.479, allocations: 1.875 kB / 0.965 GB, free: 144.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/1.481, allocations: 279.5 kB / 0.9652 GB, free: 144 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01612/1.497, allocations: 6.028 MB / 0.9711 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007075/1.498, allocations: 51.2 kB / 0.9712 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0474/1.545, allocations: 22.67 MB / 0.9933 GB, free: 124.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.546, allocations: 0 / 0.9933 GB, free: 124.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04365/1.589, allocations: 17.16 MB / 1.01 GB, free: 110.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/1.591, allocations: 425.2 kB / 1.01 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000737/1.591, allocations: 48 kB / 1.011 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/1.594, allocations: 395.6 kB / 1.011 GB, free: 110.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001871/1.596, allocations: 0.5538 MB / 1.011 GB, free: 109.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.596, allocations: 59.94 kB / 1.011 GB, free: 109.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002159/1.598, allocations: 1.521 MB / 1.013 GB, free: 108.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.599, allocations: 0 / 1.013 GB, free: 108.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005825/1.604, allocations: 1.785 MB / 1.015 GB, free: 106.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000465/1.605, allocations: 199.5 kB / 1.015 GB, free: 106.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02882/1.634, allocations: 12.26 MB / 1.027 GB, free: 95.98 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.634, allocations: 0 / 1.027 GB, free: 95.98 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01225/1.646, allocations: 4.773 MB / 1.032 GB, free: 91.93 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/1.648, allocations: 236.7 kB / 1.032 GB, free: 91.71 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008924/1.657, allocations: 6.721 MB / 1.038 GB, free: 85.52 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.658, allocations: 1.909 MB / 1.04 GB, free: 83.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001395/1.66, allocations: 275.8 kB / 1.04 GB, free: 83.54 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/1.66, allocations: 139.4 kB / 1.041 GB, free: 83.41 MB / 0.573 GB Notification: Performance of SimCode: time 1.543e-06/1.66, allocations: 0 / 1.041 GB, free: 83.41 MB / 0.573 GB Notification: Performance of Templates: time 0.09016/1.751, allocations: 73.37 MB / 1.112 GB, free: 10.49 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)