Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006484/0.006484, allocations: 169.7 kB / 15.11 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.44/1.44, allocations: 205.4 MB / 221.2 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.0009632/0.0009635, allocations: 86.88 kB / 269.6 MB, free: 13.35 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.0646/0.0646, allocations: 12.59 MB / 330.4 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.4145/0.4145, allocations: 78.51 MB / 460 MB, free: 3.426 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005096, allocations: 25.66 kB / 0.5285 GB, free: 35.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1206, allocations: 69.34 MB / 0.5962 GB, free: 3.781 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/0.5435, allocations: 102.4 MB / 0.6961 GB, free: 35.79 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5438, allocations: 83.59 kB / 0.6962 GB, free: 35.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1584/0.7022, allocations: 68.47 MB / 0.7631 GB, free: 19.04 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7022, allocations: 4 kB / 0.7631 GB, free: 19.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001454/0.7024, allocations: 59.34 kB / 0.7631 GB, free: 19.03 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01263/0.715, allocations: 4.687 MB / 0.7677 GB, free: 16.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.7151, allocations: 11.77 kB / 0.7677 GB, free: 16.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009708/0.7248, allocations: 1.62 MB / 0.7693 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/0.7287, allocations: 1.718 MB / 0.771 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005406/0.7292, allocations: 0.7479 MB / 0.7717 GB, free: 14.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003539/0.7296, allocations: 212.2 kB / 0.7719 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005365/0.735, allocations: 3.216 MB / 0.7751 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.735, allocations: 7.875 kB / 0.7751 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.7353, allocations: 83.62 kB / 0.7751 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.7353, allocations: 46.5 kB / 0.7752 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/0.7404, allocations: 2.984 MB / 0.7781 GB, free: 13.05 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.0169/0.7573, allocations: 9.975 MB / 0.7878 GB, free: 7.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009931/0.7673, allocations: 4.87 MB / 0.7926 GB, free: 3.004 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.7676, allocations: 45.95 kB / 0.7926 GB, free: 2.961 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003971/0.7716, allocations: 2.427 MB / 0.795 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 4.198e-06/0.7716, allocations: 4 kB / 0.795 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.1149/0.8865, allocations: 31.91 MB / 0.8262 GB, free: 492 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.8866, allocations: 188.2 kB / 0.8264 GB, free: 264 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003649/0.8903, allocations: 1.949 MB / 0.8283 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007418/0.891, allocations: 73.7 kB / 0.8283 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.892, allocations: 1.212 MB / 0.8295 GB, free: 13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001204/0.8933, allocations: 0.8585 MB / 0.8304 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.8935, allocations: 48 kB / 0.8304 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.8937, allocations: 403 kB / 0.8308 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00394/0.8976, allocations: 1.891 MB / 0.8326 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004186/0.9018, allocations: 2.195 MB / 0.8348 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004353/0.9062, allocations: 2.12 MB / 0.8369 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.9062, allocations: 4 kB / 0.8369 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.04331/0.9495, allocations: 14.49 MB / 0.851 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.9497, allocations: 114.8 kB / 0.8511 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.9497, allocations: 11.94 kB / 0.8511 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02014/0.9699, allocations: 6.501 MB / 0.8575 GB, free: 80 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.9726, allocations: 427.4 kB / 0.8579 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06277/1.035, allocations: 26.43 MB / 0.8837 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004527/1.04, allocations: 0.5483 MB / 0.8842 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004134/1.04, allocations: 91.97 kB / 0.8843 GB, free: 4.438 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.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 (228): * Single equations (assignments): 223 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001504/1.042, allocations: 0.5054 MB / 0.8848 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007924/1.043, allocations: 300.3 kB / 0.8851 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04221/1.085, allocations: 14.77 MB / 0.8995 GB, free: 4.746 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.794e-05/1.085, allocations: 24 kB / 0.8996 GB, free: 4.723 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-05/1.085, allocations: 20 kB / 0.8996 GB, free: 4.703 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/1.085, allocations: 11.95 kB / 0.8996 GB, free: 4.691 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.04893/1.134, allocations: 18.31 MB / 0.9175 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/1.134, allocations: 7.953 kB / 0.9175 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/1.136, allocations: 247.6 kB / 0.9177 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3344/1.47, allocations: 6.258 MB / 0.9238 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007976/1.471, allocations: 53.64 kB / 0.9239 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0576/1.529, allocations: 26.86 MB / 0.9501 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.529, allocations: 3.906 kB / 0.9501 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04327/1.572, allocations: 17.37 MB / 0.9671 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.573, allocations: 419.3 kB / 0.9675 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006453/1.574, allocations: 54.47 kB / 0.9675 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003089/1.577, allocations: 414.7 kB / 0.9679 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002114/1.579, allocations: 0.5761 MB / 0.9685 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/1.58, allocations: 68.97 kB / 0.9685 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002361/1.582, allocations: 1.514 MB / 0.97 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.182e-06/1.582, allocations: 0 / 0.97 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003551/1.586, allocations: 1.126 MB / 0.9711 GB, free: 155 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004424/1.586, allocations: 177.4 kB / 0.9713 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01572/1.602, allocations: 7.084 MB / 0.9782 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.602, allocations: 1.75 kB / 0.9782 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01232/1.614, allocations: 5.111 MB / 0.9832 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/1.616, allocations: 233.8 kB / 0.9834 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009239/1.626, allocations: 6.568 MB / 0.9898 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.627, allocations: 1.879 MB / 0.9917 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001212/1.628, allocations: 216.2 kB / 0.9919 GB, free: 141.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005935/1.629, allocations: 134.3 kB / 0.992 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of SimCode: time 8.32e-07/1.629, allocations: 0 / 0.992 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.07412/1.703, allocations: 55.79 MB / 1.046 GB, free: 99.48 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)