Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005014/0.005014, allocations: 170.5 kB / 15.11 MB, free: 5.973 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.193/1.193, allocations: 223.2 MB / 239 MB, free: 1.762 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.001089/0.001089, allocations: 94.2 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4169/0.4169, allocations: 79.44 MB / 420.8 MB, free: 43.7 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 8 kB / 0.489 GB, free: 2.02 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.313, allocations: 69.5 MB / 0.5569 GB, free: 38.76 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.4168, allocations: 101.5 MB / 0.6561 GB, free: 4.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.4171, allocations: 83.95 kB / 0.6561 GB, free: 3.938 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1791/0.5961, allocations: 71.61 MB / 0.7261 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5962, allocations: 0 / 0.7261 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001468/0.5963, allocations: 59.94 kB / 0.7261 GB, free: 11.89 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01214/0.6085, allocations: 4.719 MB / 0.7307 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.6085, allocations: 16.03 kB / 0.7308 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009229/0.6178, allocations: 1.607 MB / 0.7323 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003146/0.6209, allocations: 1.736 MB / 0.734 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006412/0.6216, allocations: 0.7409 MB / 0.7347 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003578/0.6219, allocations: 211.9 kB / 0.7349 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005856/0.6278, allocations: 3.227 MB / 0.7381 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.6279, allocations: 0 / 0.7381 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.6281, allocations: 88 kB / 0.7382 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.992e-05/0.6282, allocations: 48 kB / 0.7382 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005615/0.6338, allocations: 2.991 MB / 0.7411 GB, free: 12.13 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.01644/0.6502, allocations: 10.01 MB / 0.7509 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.6612, allocations: 4.898 MB / 0.7557 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/0.6614, allocations: 37.89 kB / 0.7557 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004371/0.6658, allocations: 2.44 MB / 0.7581 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=250): time 4.148e-06/0.6658, allocations: 0 / 0.7581 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=250): time 0.3197/0.9856, allocations: 32.09 MB / 0.7895 GB, free: 117 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.9857, allocations: 182.9 kB / 0.7896 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/0.9889, allocations: 1.971 MB / 0.7916 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000621/0.9896, allocations: 69.3 kB / 0.7916 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008334/0.9904, allocations: 1.217 MB / 0.7928 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008723/0.9913, allocations: 0.8624 MB / 0.7937 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.9915, allocations: 49.97 kB / 0.7937 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9916, allocations: 399.6 kB / 0.7941 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/0.9953, allocations: 1.896 MB / 0.7959 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003991/0.9993, allocations: 2.211 MB / 0.7981 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003881/1.003, allocations: 2.121 MB / 0.8002 GB, free: 115 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/1.003, allocations: 2.219 kB / 0.8002 GB, free: 115 MB / 0.5573 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.04068/1.044, allocations: 14.57 MB / 0.8144 GB, free: 114 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.809e-05/1.044, allocations: 120.5 kB / 0.8145 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.044, allocations: 3.969 kB / 0.8145 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01824/1.062, allocations: 6.565 MB / 0.8209 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/1.065, allocations: 413.2 kB / 0.8213 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05504/1.12, allocations: 27.82 MB / 0.8485 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003633/1.123, allocations: 0.5424 MB / 0.849 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003012/1.124, allocations: 90.97 kB / 0.8491 GB, free: 105.5 MB / 0.5573 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 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 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 (229): * 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: 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001145/1.125, allocations: 0.5097 MB / 0.8496 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/1.125, allocations: 299.9 kB / 0.8499 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03677/1.162, allocations: 14.8 MB / 0.8643 GB, free: 95.53 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/1.162, allocations: 32 kB / 0.8644 GB, free: 95.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/1.162, allocations: 16 kB / 0.8644 GB, free: 95.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.769e-05/1.162, allocations: 14.34 kB / 0.8644 GB, free: 95.48 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.04076/1.203, allocations: 18.37 MB / 0.8823 GB, free: 81.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.203, allocations: 8.062 kB / 0.8823 GB, free: 81.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/1.205, allocations: 249 kB / 0.8826 GB, free: 81.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01586/1.22, allocations: 6.22 MB / 0.8887 GB, free: 76.34 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004917/1.221, allocations: 51.05 kB / 0.8887 GB, free: 76.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04866/1.27, allocations: 26.9 MB / 0.915 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.27, allocations: 11.94 kB / 0.915 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04211/1.312, allocations: 17.39 MB / 0.932 GB, free: 33.06 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009588/1.313, allocations: 421 kB / 0.9324 GB, free: 32.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005286/1.313, allocations: 48 kB / 0.9324 GB, free: 32.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002961/1.316, allocations: 415.6 kB / 0.9328 GB, free: 32.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001866/1.318, allocations: 0.5838 MB / 0.9334 GB, free: 31.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.318, allocations: 63.98 kB / 0.9334 GB, free: 31.55 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001883/1.32, allocations: 1.527 MB / 0.9349 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.32, allocations: 0 / 0.9349 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002562/1.323, allocations: 1.128 MB / 0.936 GB, free: 28.89 MB / 0.5573 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.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 (159): * Single equations (assignments): 154 * 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.0003755/1.323, allocations: 191.5 kB / 0.9362 GB, free: 28.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01552/1.339, allocations: 7.234 MB / 0.9433 GB, free: 21.37 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.339, allocations: 0 / 0.9433 GB, free: 21.37 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01139/1.35, allocations: 5.09 MB / 0.9483 GB, free: 16.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/1.352, allocations: 234.1 kB / 0.9485 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007464/1.359, allocations: 6.68 MB / 0.955 GB, free: 9.285 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008995/1.36, allocations: 1.884 MB / 0.9568 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008798/1.361, allocations: 210.9 kB / 0.957 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/1.361, allocations: 139.4 kB / 0.9572 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/1.361, allocations: 0 / 0.9572 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of Templates: time 0.274/1.635, allocations: 56.19 MB / 1.012 GB, free: 139.8 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)