Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004631/0.004631, allocations: 171.1 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 223.2 MB / 239 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009271/0.0009271, allocations: 109.7 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3957/0.3957, allocations: 78.51 MB / 419.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 12 kB / 499.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2894, allocations: 69.36 MB / 0.5557 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.3995, allocations: 100.7 MB / 0.6541 GB, free: 5.676 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.3998, allocations: 80.58 kB / 0.6542 GB, free: 5.598 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1661/0.5659, allocations: 70.34 MB / 0.7228 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.403e-06/0.566, allocations: 0 / 0.7228 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001439/0.5661, allocations: 59.94 kB / 0.7229 GB, free: 14.81 MB / 0.5261 GB 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.01239/0.5785, allocations: 4.691 MB / 0.7275 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.375e-05/0.5785, allocations: 12.03 kB / 0.7275 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009131/0.5877, allocations: 1.611 MB / 0.7291 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.591, allocations: 1.721 MB / 0.7307 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006065/0.5916, allocations: 0.7448 MB / 0.7315 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/0.5919, allocations: 211.9 kB / 0.7317 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005654/0.5976, allocations: 3.219 MB / 0.7348 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.5976, allocations: 3.938 kB / 0.7348 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.5979, allocations: 83.95 kB / 0.7349 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.5979, allocations: 52 kB / 0.735 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005467/0.6034, allocations: 2.983 MB / 0.7379 GB, free: 15.11 MB / 0.5417 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 preOpt removeSimpleEquations (simulation): time 0.01607/0.6195, allocations: 9.971 MB / 0.7476 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.6303, allocations: 4.872 MB / 0.7524 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.6305, allocations: 45.95 kB / 0.7524 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004183/0.6347, allocations: 2.428 MB / 0.7548 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 3.317e-06/0.6347, allocations: 0 / 0.7548 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.3062/0.9409, allocations: 31.91 MB / 0.7859 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.941, allocations: 192.5 kB / 0.7861 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.9436, allocations: 1.952 MB / 0.788 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004669/0.9441, allocations: 72.75 kB / 0.7881 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007345/0.9448, allocations: 1.209 MB / 0.7893 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007195/0.9456, allocations: 0.8519 MB / 0.7901 GB, free: 117 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.9457, allocations: 53.66 kB / 0.7902 GB, free: 117 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.9459, allocations: 401.2 kB / 0.7905 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003246/0.9491, allocations: 1.893 MB / 0.7924 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/0.9528, allocations: 2.196 MB / 0.7945 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/0.9563, allocations: 2.121 MB / 0.7966 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.9563, allocations: 1.5 kB / 0.7966 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03894/0.9952, allocations: 14.49 MB / 0.8108 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.079e-05/0.9953, allocations: 115.7 kB / 0.8109 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.9954, allocations: 10.53 kB / 0.8109 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/1.012, allocations: 6.501 MB / 0.8172 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/1.014, allocations: 434.8 kB / 0.8176 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05177/1.066, allocations: 26.43 MB / 0.8434 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/1.069, allocations: 0.5435 MB / 0.844 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/1.07, allocations: 96.83 kB / 0.8441 GB, free: 108.2 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.001112/1.071, allocations: 0.5061 MB / 0.8446 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004171/1.071, allocations: 308.2 kB / 0.8449 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03578/1.107, allocations: 14.77 MB / 0.8593 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/1.107, allocations: 30.25 kB / 0.8593 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/1.107, allocations: 19.95 kB / 0.8593 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.172e-05/1.107, allocations: 10.73 kB / 0.8593 GB, free: 100.1 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.04009/1.147, allocations: 18.32 MB / 0.8772 GB, free: 86.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.147, allocations: 0 / 0.8772 GB, free: 86.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/1.149, allocations: 246.7 kB / 0.8775 GB, free: 85.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01535/1.164, allocations: 6.267 MB / 0.8836 GB, free: 80.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003583/1.164, allocations: 47.52 kB / 0.8836 GB, free: 80.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04792/1.212, allocations: 26.87 MB / 0.9099 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.212, allocations: 3.938 kB / 0.9099 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03998/1.252, allocations: 17.37 MB / 0.9268 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008935/1.253, allocations: 422 kB / 0.9272 GB, free: 38.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004778/1.254, allocations: 47.95 kB / 0.9273 GB, free: 38.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002704/1.256, allocations: 411.6 kB / 0.9277 GB, free: 38.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001793/1.258, allocations: 0.5839 MB / 0.9282 GB, free: 37.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.258, allocations: 63.98 kB / 0.9283 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001854/1.26, allocations: 1.515 MB / 0.9298 GB, free: 35.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.9e-07/1.26, allocations: 0 / 0.9298 GB, free: 35.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002606/1.263, allocations: 1.117 MB / 0.9309 GB, free: 34.81 MB / 0.5573 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.0003612/1.263, allocations: 199.5 kB / 0.9311 GB, free: 34.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01456/1.278, allocations: 7.079 MB / 0.938 GB, free: 27.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/1.278, allocations: 4.188 kB / 0.938 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01118/1.289, allocations: 5.101 MB / 0.943 GB, free: 22.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.291, allocations: 235.4 kB / 0.9432 GB, free: 22.06 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007613/1.298, allocations: 6.554 MB / 0.9496 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009117/1.299, allocations: 1.876 MB / 0.9514 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008345/1.3, allocations: 221.3 kB / 0.9516 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/1.301, allocations: 139.4 kB / 0.9518 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of SimCode: time 1.232e-06/1.301, allocations: 0 / 0.9518 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of Templates: time 0.2833/1.584, allocations: 55.78 MB / 1.006 GB, free: 139.9 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)