Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007187/0.007186, allocations: 171.9 kB / 15.12 MB, free: 5.973 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.438/1.438, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009843/0.0009843, allocations: 86.86 kB / 269.6 MB, free: 13.36 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.06485/0.06485, allocations: 12.61 MB / 330.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4169/0.4169, allocations: 78.52 MB / 460 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004905, allocations: 16.22 kB / 0.5285 GB, free: 35.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.142, allocations: 69.33 MB / 0.5962 GB, free: 3.812 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4302/0.5723, allocations: 101.2 MB / 0.695 GB, free: 98.82 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.5725, allocations: 81.75 kB / 0.6951 GB, free: 98.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1556/0.7282, allocations: 67.55 MB / 0.7611 GB, free: 48.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.7282, allocations: 0 / 0.7611 GB, free: 48.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002828/0.7285, allocations: 63.94 kB / 0.7611 GB, free: 48.55 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01485/0.7434, allocations: 4.621 MB / 0.7656 GB, free: 43.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.7434, allocations: 11.98 kB / 0.7657 GB, free: 43.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/0.7535, allocations: 1.615 MB / 0.7672 GB, free: 42.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/0.7587, allocations: 1.709 MB / 0.7689 GB, free: 40.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007307/0.7595, allocations: 0.7448 MB / 0.7696 GB, free: 39.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/0.7606, allocations: 208 kB / 0.7698 GB, free: 39.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007987/0.7686, allocations: 3.188 MB / 0.7729 GB, free: 36.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.7687, allocations: 0 / 0.7729 GB, free: 36.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/0.769, allocations: 91.92 kB / 0.773 GB, free: 36.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.769, allocations: 52 kB / 0.7731 GB, free: 35.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005228/0.7742, allocations: 2.971 MB / 0.776 GB, free: 32.98 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.01565/0.7899, allocations: 9.907 MB / 0.7857 GB, free: 22.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009737/0.7997, allocations: 4.858 MB / 0.7904 GB, free: 17.65 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/0.8001, allocations: 41.97 kB / 0.7904 GB, free: 17.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004365/0.8045, allocations: 2.415 MB / 0.7928 GB, free: 15.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 7.825e-06/0.8045, allocations: 0 / 0.7928 GB, free: 15.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.1173/0.9218, allocations: 33.27 MB / 0.8253 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.922, allocations: 188.3 kB / 0.8255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004807/0.9268, allocations: 1.924 MB / 0.8273 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007916/0.9277, allocations: 65.7 kB / 0.8274 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.929, allocations: 1.208 MB / 0.8286 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001664/0.9306, allocations: 0.8509 MB / 0.8294 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006312/0.9313, allocations: 52 kB / 0.8295 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003605/0.9317, allocations: 398.9 kB / 0.8298 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004588/0.9363, allocations: 1.875 MB / 0.8317 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00484/0.9411, allocations: 2.183 MB / 0.8338 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004753/0.9459, allocations: 2.094 MB / 0.8359 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.9459, allocations: 4 kB / 0.8359 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.04371/0.9897, allocations: 14.46 MB / 0.85 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.9898, allocations: 114.8 kB / 0.8501 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.9899, allocations: 12 kB / 0.8501 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01972/1.01, allocations: 6.366 MB / 0.8563 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/1.012, allocations: 415.5 kB / 0.8567 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06738/1.08, allocations: 26.51 MB / 0.8826 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/1.084, allocations: 0.5329 MB / 0.8831 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00073/1.085, allocations: 91.97 kB / 0.8832 GB, free: 1.965 MB / 0.5417 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" 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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 219 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.002451/1.087, allocations: 0.5126 MB / 0.8837 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001313/1.089, allocations: 296.3 kB / 0.884 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04159/1.13, allocations: 14.73 MB / 0.8984 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/1.13, allocations: 31.98 kB / 0.8984 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.625e-05/1.13, allocations: 24 kB / 0.8984 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-05/1.13, allocations: 15.89 kB / 0.8984 GB, free: 2.285 MB / 0.5573 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.3544/1.485, allocations: 18.27 MB / 0.9163 GB, free: 144.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/1.485, allocations: 2.594 kB / 0.9163 GB, free: 144.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/1.487, allocations: 241.5 kB / 0.9165 GB, free: 144.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01787/1.505, allocations: 6.234 MB / 0.9226 GB, free: 144.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007976/1.505, allocations: 51.27 kB / 0.9227 GB, free: 144.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05855/1.564, allocations: 26.9 MB / 0.9489 GB, free: 140.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.564, allocations: 4.266 kB / 0.9489 GB, free: 140.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04324/1.607, allocations: 17.31 MB / 0.9658 GB, free: 139 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/1.609, allocations: 417 kB / 0.9662 GB, free: 138.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007121/1.609, allocations: 43.81 kB / 0.9663 GB, free: 138.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/1.612, allocations: 413.7 kB / 0.9667 GB, free: 138.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002155/1.614, allocations: 0.5809 MB / 0.9672 GB, free: 138.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/1.615, allocations: 67.23 kB / 0.9673 GB, free: 138.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002141/1.617, allocations: 1.491 MB / 0.9688 GB, free: 138 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.617, allocations: 0 / 0.9688 GB, free: 138 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003556/1.62, allocations: 1.117 MB / 0.9698 GB, free: 137.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004493/1.621, allocations: 178.7 kB / 0.97 GB, free: 137.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01602/1.637, allocations: 7.039 MB / 0.9769 GB, free: 135.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.637, allocations: 0 / 0.9769 GB, free: 135.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01277/1.65, allocations: 5.062 MB / 0.9818 GB, free: 131.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/1.652, allocations: 234.6 kB / 0.9821 GB, free: 131.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008803/1.661, allocations: 6.361 MB / 0.9883 GB, free: 125.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.662, allocations: 1.862 MB / 0.9901 GB, free: 124.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001083/1.663, allocations: 220.4 kB / 0.9903 GB, free: 124.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/1.664, allocations: 135 kB / 0.9904 GB, free: 124 MB / 0.573 GB Notification: Performance of SimCode: time 1.373e-06/1.664, allocations: 0 / 0.9904 GB, free: 124 MB / 0.573 GB Notification: Performance of Templates: time 0.07366/1.737, allocations: 55.38 MB / 1.045 GB, free: 81.41 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)