Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001282/0.001281, allocations: 174.1 kB / 12.73 MB, free: 2.59 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.242/1.242, allocations: 221.4 MB / 234.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008775, allocations: 92.72 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4474/0.4474, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.837e-05, allocations: 4 kB / 491.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.436, allocations: 69.34 MB / 0.548 GB, free: 20.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.5612, allocations: 100.9 MB / 0.6465 GB, free: 15.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.5615, allocations: 79.95 kB / 0.6466 GB, free: 15.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4333/0.9948, allocations: 70.55 MB / 0.7155 GB, free: 93.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.9948, allocations: 0 / 0.7155 GB, free: 93.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001814/0.995, allocations: 60 kB / 0.7155 GB, free: 93.41 MB / 490.7 MB 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.01132/1.006, allocations: 4.086 MB / 0.7195 GB, free: 89.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/1.006, allocations: 15.97 kB / 0.7195 GB, free: 89.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/1.02, allocations: 1.603 MB / 0.7211 GB, free: 87.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005199/1.025, allocations: 1.663 MB / 0.7227 GB, free: 85.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008587/1.026, allocations: 0.7448 MB / 0.7235 GB, free: 85.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/1.027, allocations: 212 kB / 0.7237 GB, free: 84.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008612/1.035, allocations: 2.584 MB / 0.7262 GB, free: 82.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.951e-05/1.035, allocations: 0 / 0.7262 GB, free: 82.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005826/1.036, allocations: 91.98 kB / 0.7263 GB, free: 82.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/1.036, allocations: 55.92 kB / 0.7263 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007728/1.044, allocations: 2.332 MB / 0.7286 GB, free: 79.68 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.02897/1.073, allocations: 10.01 MB / 0.7384 GB, free: 69.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/1.085, allocations: 4.223 MB / 0.7425 GB, free: 64.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/1.087, allocations: 1.547 MB / 0.744 GB, free: 63.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/1.088, allocations: 41.95 kB / 0.744 GB, free: 63.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002698/1.09, allocations: 1.819 MB / 0.7458 GB, free: 61.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 4.929e-06/1.09, allocations: 0 / 0.7458 GB, free: 61.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.03611/1.126, allocations: 12.58 MB / 0.7581 GB, free: 48.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/1.126, allocations: 184.2 kB / 0.7583 GB, free: 48.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/1.129, allocations: 1.895 MB / 0.7601 GB, free: 46.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005371/1.13, allocations: 73.69 kB / 0.7602 GB, free: 46.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006696/1.131, allocations: 1.216 MB / 0.7614 GB, free: 45.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00102/1.132, allocations: 0.8624 MB / 0.7622 GB, free: 44.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/1.132, allocations: 52 kB / 0.7623 GB, free: 44.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/1.132, allocations: 399 kB / 0.7627 GB, free: 44.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/1.134, allocations: 1.278 MB / 0.7639 GB, free: 42.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/1.136, allocations: 1.583 MB / 0.7655 GB, free: 41.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.138, allocations: 1.509 MB / 0.7669 GB, free: 39.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/1.139, allocations: 0 / 0.7669 GB, free: 39.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03561/1.174, allocations: 12.72 MB / 0.7794 GB, free: 26.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.932e-05/1.174, allocations: 117 kB / 0.7795 GB, free: 26.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.174, allocations: 8 kB / 0.7795 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01609/1.19, allocations: 5.353 MB / 0.7847 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/1.193, allocations: 415.4 kB / 0.7851 GB, free: 20.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03722/1.23, allocations: 19.25 MB / 0.8039 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003884/1.234, allocations: 0.5445 MB / 0.8044 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003952/1.234, allocations: 91.97 kB / 0.8045 GB, free: 0.6484 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * 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.0006078/1.235, allocations: 297.2 kB / 0.8048 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006374/1.235, allocations: 304.2 kB / 0.8051 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03937/1.275, allocations: 12.94 MB / 0.8177 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/1.275, allocations: 28 kB / 0.8177 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.968e-05/1.275, allocations: 20 kB / 0.8178 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.308e-05/1.275, allocations: 15.91 kB / 0.8178 GB, free: 2.949 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.04629/1.321, allocations: 16.53 MB / 0.8339 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/1.321, allocations: 8.062 kB / 0.8339 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/1.323, allocations: 247.6 kB / 0.8342 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01596/1.339, allocations: 4.996 MB / 0.8391 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006262/1.34, allocations: 47.98 kB / 0.8391 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04108/1.381, allocations: 19.31 MB / 0.858 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.381, allocations: 4 kB / 0.858 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04356/1.424, allocations: 14.93 MB / 0.8725 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.425, allocations: 420.9 kB / 0.8729 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008356/1.426, allocations: 51.94 kB / 0.873 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003633/1.43, allocations: 415.6 kB / 0.8734 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002272/1.432, allocations: 0.5759 MB / 0.874 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/1.432, allocations: 67.98 kB / 0.874 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002384/1.435, allocations: 1.446 MB / 0.8754 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.435, allocations: 0 / 0.8754 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003473/1.438, allocations: 1.131 MB / 0.8765 GB, free: 5.945 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 () * 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.0005037/1.439, allocations: 198.8 kB / 0.8767 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01588/1.455, allocations: 5.925 MB / 0.8825 GB, free: 15.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.455, allocations: 0 / 0.8825 GB, free: 15.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01275/1.468, allocations: 4.399 MB / 0.8868 GB, free: 11.23 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/1.469, allocations: 233.2 kB / 0.887 GB, free: 11 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008538/1.478, allocations: 4.269 MB / 0.8912 GB, free: 6.672 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/1.48, allocations: 1.876 MB / 0.893 GB, free: 4.766 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001069/1.481, allocations: 219.7 kB / 0.8932 GB, free: 4.547 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/1.481, allocations: 139.4 kB / 0.8934 GB, free: 4.41 MB / 0.573 GB Notification: Performance of SimCode: time 4.61e-07/1.481, allocations: 0 / 0.8934 GB, free: 4.41 MB / 0.573 GB Notification: Performance of Templates: time 0.3307/1.812, allocations: 56.07 MB / 0.9481 GB, free: 156.5 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)