Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005358/0.005359, allocations: 170.8 kB / 15.11 MB, free: 5.969 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.315/1.315, 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.000882/0.000882, allocations: 86.88 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.06351/0.06351, allocations: 12.6 MB / 330.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4167/0.4167, allocations: 78.52 MB / 460 MB, free: 3.449 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005064, allocations: 17.16 kB / 0.5285 GB, free: 35.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1382, allocations: 69.34 MB / 0.5962 GB, free: 3.797 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/0.5457, allocations: 102.6 MB / 0.6963 GB, free: 36.06 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.5461, allocations: 86.08 kB / 0.6964 GB, free: 36.06 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1614/0.7076, allocations: 68.88 MB / 0.7637 GB, free: 18.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7076, allocations: 0 / 0.7637 GB, free: 18.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001515/0.7078, allocations: 65.84 kB / 0.7638 GB, free: 18.97 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01317/0.721, allocations: 4.718 MB / 0.7684 GB, free: 16.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.721, allocations: 11.8 kB / 0.7684 GB, free: 16.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.7312, allocations: 1.622 MB / 0.77 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004406/0.7356, allocations: 1.73 MB / 0.7716 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006011/0.7362, allocations: 0.7449 MB / 0.7724 GB, free: 14.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000644/0.7369, allocations: 207.8 kB / 0.7726 GB, free: 14.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005805/0.7427, allocations: 3.226 MB / 0.7757 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.7428, allocations: 0 / 0.7757 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/0.743, allocations: 81.5 kB / 0.7758 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.7431, allocations: 50.72 kB / 0.7759 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00552/0.7486, allocations: 2.997 MB / 0.7788 GB, free: 12.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.01706/0.7657, allocations: 10 MB / 0.7885 GB, free: 6.754 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009978/0.7757, allocations: 4.9 MB / 0.7933 GB, free: 2.305 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.776, allocations: 41.95 kB / 0.7934 GB, free: 2.266 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004012/0.7801, allocations: 2.439 MB / 0.7958 GB, free: 15.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 4.929e-06/0.7801, allocations: 0 / 0.7958 GB, free: 15.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.1626/0.9426, allocations: 32.1 MB / 0.8271 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.9429, allocations: 180.2 kB / 0.8273 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005999/0.9489, allocations: 1.976 MB / 0.8292 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008991/0.9498, allocations: 65.7 kB / 0.8293 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.9514, allocations: 1.216 MB / 0.8304 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001917/0.9533, allocations: 0.8586 MB / 0.8313 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/0.9537, allocations: 48 kB / 0.8313 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002802/0.954, allocations: 407 kB / 0.8317 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007736/0.9617, allocations: 1.898 MB / 0.8336 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008079/0.9698, allocations: 2.211 MB / 0.8357 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008234/0.9781, allocations: 2.126 MB / 0.8378 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/0.9781, allocations: 0 / 0.8378 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.07373/1.052, allocations: 14.57 MB / 0.852 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/1.052, allocations: 114.4 kB / 0.8522 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/1.052, allocations: 8 kB / 0.8522 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0241/1.076, allocations: 6.564 MB / 0.8586 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/1.079, allocations: 415.4 kB / 0.859 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06298/1.142, allocations: 27.81 MB / 0.8861 GB, free: 2.504 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00407/1.146, allocations: 0.5445 MB / 0.8867 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/1.146, allocations: 91.97 kB / 0.8867 GB, free: 1.867 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.001487/1.148, allocations: 0.5166 MB / 0.8873 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006636/1.148, allocations: 300.3 kB / 0.8875 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04113/1.189, allocations: 14.79 MB / 0.902 GB, free: 2.145 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/1.189, allocations: 24 kB / 0.902 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-05/1.189, allocations: 20 kB / 0.902 GB, free: 2.102 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-05/1.19, allocations: 11.95 kB / 0.902 GB, free: 2.09 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.2987/1.488, allocations: 18.37 MB / 0.92 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/1.488, allocations: 0 / 0.92 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/1.49, allocations: 254.5 kB / 0.9202 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01708/1.507, allocations: 6.221 MB / 0.9263 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005797/1.508, allocations: 49.81 kB / 0.9263 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0529/1.561, allocations: 26.9 MB / 0.9526 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.561, allocations: 0 / 0.9526 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04183/1.603, allocations: 17.39 MB / 0.9696 GB, free: 148.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.604, allocations: 426.9 kB / 0.97 GB, free: 148.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004791/1.604, allocations: 54.2 kB / 0.97 GB, free: 148.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/1.607, allocations: 410.5 kB / 0.9704 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002231/1.61, allocations: 0.5802 MB / 0.971 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/1.61, allocations: 66.91 kB / 0.9711 GB, free: 148 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002207/1.612, allocations: 1.527 MB / 0.9726 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.51e-07/1.612, allocations: 0 / 0.9726 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00321/1.615, allocations: 1.131 MB / 0.9737 GB, free: 147.3 MB / 0.5886 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.000422/1.616, allocations: 183.4 kB / 0.9738 GB, free: 147.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01584/1.632, allocations: 7.235 MB / 0.9809 GB, free: 145 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.632, allocations: 0 / 0.9809 GB, free: 145 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01184/1.644, allocations: 5.092 MB / 0.9859 GB, free: 143.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/1.646, allocations: 233.3 kB / 0.9861 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008455/1.654, allocations: 6.678 MB / 0.9926 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.655, allocations: 1.881 MB / 0.9945 GB, free: 136.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009574/1.656, allocations: 213.2 kB / 0.9947 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/1.657, allocations: 138.7 kB / 0.9948 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.122e-06/1.657, allocations: 0 / 0.9948 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.07584/1.733, allocations: 56.2 MB / 1.05 GB, free: 95.56 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)