Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009014/0.0009014, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.3 MB / 213.4 MB, free: 1.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008397/0.0008395, allocations: 82.7 kB / 261.4 MB, free: 1.625 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06169/0.06169, allocations: 12.6 MB / 321.9 MB, free: 15.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4312/0.4312, allocations: 78.04 MB / 450.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.574e-05/1.58e-05, allocations: 2.781 kB / 0.5147 GB, free: 41.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 69.33 MB / 0.5824 GB, free: 356 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.2361, allocations: 100.5 MB / 0.6805 GB, free: 11.74 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.2364, allocations: 75.95 kB / 0.6806 GB, free: 11.67 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4236/0.66, allocations: 66.51 MB / 0.7455 GB, free: 66.06 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.66, allocations: 4 kB / 0.7455 GB, free: 66.06 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002538/0.6603, allocations: 55.94 kB / 0.7456 GB, free: 66 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01244/0.6727, allocations: 4.021 MB / 0.7495 GB, free: 61.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6728, allocations: 8.031 kB / 0.7495 GB, free: 61.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009904/0.6827, allocations: 1.6 MB / 0.7511 GB, free: 60.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004226/0.6869, allocations: 1.623 MB / 0.7527 GB, free: 58.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006813/0.6877, allocations: 0.6705 MB / 0.7533 GB, free: 57.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008522/0.6885, allocations: 135.8 kB / 0.7535 GB, free: 57.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004631/0.6932, allocations: 2.215 MB / 0.7556 GB, free: 55.46 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004958/0.6982, allocations: 2.27 MB / 0.7578 GB, free: 53.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.811e-05/0.6982, allocations: 0 / 0.7578 GB, free: 53.12 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003414/0.6986, allocations: 3.984 kB / 0.7578 GB, free: 53.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.6986, allocations: 52 kB / 0.7579 GB, free: 53.06 MB / 474.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.01677/0.7154, allocations: 9.572 MB / 0.7672 GB, free: 43.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008694/0.7241, allocations: 4.095 MB / 0.7712 GB, free: 38.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/0.7265, allocations: 1.457 MB / 0.7727 GB, free: 37.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/0.7269, allocations: 45.95 kB / 0.7727 GB, free: 37.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002941/0.7299, allocations: 1.706 MB / 0.7744 GB, free: 35.63 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 6.302e-06/0.7299, allocations: 0 / 0.7744 GB, free: 35.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.03488/0.7648, allocations: 12.33 MB / 0.7864 GB, free: 23.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.7649, allocations: 180.2 kB / 0.7866 GB, free: 23.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/0.7681, allocations: 1.693 MB / 0.7882 GB, free: 21.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006975/0.7688, allocations: 25.7 kB / 0.7883 GB, free: 21.33 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008542/0.7697, allocations: 1.207 MB / 0.7894 GB, free: 20.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.7709, allocations: 0.8158 MB / 0.7902 GB, free: 19.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004761/0.7714, allocations: 0 / 0.7902 GB, free: 19.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.7715, allocations: 406.9 kB / 0.7906 GB, free: 18.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.7738, allocations: 1.204 MB / 0.7918 GB, free: 17.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/0.776, allocations: 1.499 MB / 0.7933 GB, free: 16.08 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.7782, allocations: 1.314 MB / 0.7945 GB, free: 14.74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.7782, allocations: 4 kB / 0.7945 GB, free: 14.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03505/0.8133, allocations: 12.28 MB / 0.8065 GB, free: 2.395 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.091e-05/0.8134, allocations: 114.8 kB / 0.8066 GB, free: 2.258 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.8135, allocations: 8 kB / 0.8066 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01618/0.8297, allocations: 4.964 MB / 0.8115 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/0.832, allocations: 419.4 kB / 0.8119 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0427/0.8748, allocations: 17.6 MB / 0.8291 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004526/0.8793, allocations: 497.6 kB / 0.8296 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006721/0.88, allocations: 87.98 kB / 0.8296 GB, free: 10.55 MB / 0.4948 GB 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.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 (224): * Single equations (assignments): 219 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001038/0.8811, allocations: 209.5 kB / 0.8298 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.8822, allocations: 288.4 kB / 0.8301 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03877/0.9209, allocations: 12.61 MB / 0.8424 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.297e-05/0.921, allocations: 27.94 kB / 0.8425 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.841e-05/0.9211, allocations: 20 kB / 0.8425 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-05/0.9212, allocations: 11.95 kB / 0.8425 GB, free: 13.34 MB / 0.5105 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.04576/0.967, allocations: 15.92 MB / 0.858 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-05/0.967, allocations: 3.938 kB / 0.858 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.9687, allocations: 251.6 kB / 0.8583 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01539/0.9841, allocations: 4.969 MB / 0.8631 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006483/0.9847, allocations: 19.94 kB / 0.8631 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04119/1.026, allocations: 19.01 MB / 0.8817 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/1.026, allocations: 3.984 kB / 0.8817 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04277/1.069, allocations: 14.57 MB / 0.8959 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.07, allocations: 412.9 kB / 0.8963 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.071, allocations: 7.953 kB / 0.8963 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003657/1.075, allocations: 371.6 kB / 0.8967 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002281/1.077, allocations: 0.5836 MB / 0.8973 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004302/1.077, allocations: 63.98 kB / 0.8973 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002309/1.08, allocations: 1.264 MB / 0.8986 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/1.08, allocations: 0 / 0.8986 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004112/1.084, allocations: 1.002 MB / 0.8995 GB, free: 2.254 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0005928/1.084, allocations: 158.8 kB / 0.8997 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2777/1.362, allocations: 5.54 MB / 0.9051 GB, free: 157.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.362, allocations: 0 / 0.9051 GB, free: 157.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01269/1.375, allocations: 4.262 MB / 0.9093 GB, free: 156.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/1.377, allocations: 183.9 kB / 0.9094 GB, free: 156.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007995/1.385, allocations: 3.922 MB / 0.9133 GB, free: 155.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.386, allocations: 1.867 MB / 0.9151 GB, free: 154.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001086/1.387, allocations: 213.8 kB / 0.9153 GB, free: 154.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005233/1.388, allocations: 137.3 kB / 0.9154 GB, free: 154.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/1.388, allocations: 0 / 0.9154 GB, free: 154.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.06506/1.453, allocations: 50.99 MB / 0.9652 GB, free: 131.2 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)