Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007926/0.007926, allocations: 170.3 kB / 15.11 MB, free: 5.973 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.488/1.488, 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.0008036/0.0008037, allocations: 86.81 kB / 269.6 MB, free: 13.35 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.06661/0.06661, allocations: 12.59 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4193/0.4193, allocations: 78.52 MB / 460 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005242/0.0005243, allocations: 18.38 kB / 0.5285 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1263, allocations: 69.34 MB / 0.5962 GB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.561, allocations: 101.9 MB / 0.6957 GB, free: 35.76 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.5613, allocations: 82.7 kB / 0.6958 GB, free: 35.76 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1605/0.7218, allocations: 65.83 MB / 0.7601 GB, free: 20.44 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.7218, allocations: 3.938 kB / 0.7601 GB, free: 20.44 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002943/0.7221, allocations: 65.97 kB / 0.7602 GB, free: 20.43 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01466/0.7368, allocations: 4.642 MB / 0.7647 GB, free: 17.87 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.7369, allocations: 15.3 kB / 0.7647 GB, free: 17.87 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.7469, allocations: 1.618 MB / 0.7663 GB, free: 17.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004849/0.7518, allocations: 1.726 MB / 0.768 GB, free: 16.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006485/0.7524, allocations: 0.6892 MB / 0.7686 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009669/0.7534, allocations: 209 kB / 0.7688 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007779/0.7612, allocations: 3.23 MB / 0.772 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.242e-05/0.7613, allocations: 0 / 0.772 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000486/0.7618, allocations: 86.94 kB / 0.7721 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.7619, allocations: 46.94 kB / 0.7721 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005855/0.7677, allocations: 3.031 MB / 0.7751 GB, free: 14.49 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.01915/0.7869, allocations: 10.07 MB / 0.7849 GB, free: 9.379 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.7972, allocations: 4.752 MB / 0.7896 GB, free: 5.883 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/0.7976, allocations: 45.66 kB / 0.7896 GB, free: 5.844 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.7976, allocations: 65.86 kB / 0.7897 GB, free: 5.789 MB / 474.7 MB Notification: Performance of pre-optimization done (n=243): time 4.529e-06/0.7976, allocations: 3.938 kB / 0.7897 GB, free: 5.785 MB / 474.7 MB Notification: Performance of matching and sorting (n=243): time 0.1096/0.9073, allocations: 30.53 MB / 0.8195 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.9074, allocations: 235.6 kB / 0.8197 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004769/0.9122, allocations: 1.949 MB / 0.8216 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000793/0.913, allocations: 65.7 kB / 0.8217 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.9144, allocations: 1.227 MB / 0.8229 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001917/0.9163, allocations: 0.8392 MB / 0.8237 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006741/0.917, allocations: 44 kB / 0.8237 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003141/0.9173, allocations: 394.6 kB / 0.8241 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004681/0.922, allocations: 1.879 MB / 0.8259 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004724/0.9267, allocations: 2.194 MB / 0.8281 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004569/0.9313, allocations: 2.106 MB / 0.8301 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.9314, allocations: 4 kB / 0.8301 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03997/0.9713, allocations: 13.53 MB / 0.8434 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001261/0.9726, allocations: 2.874 MB / 0.8462 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.9727, allocations: 11.94 kB / 0.8462 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01828/0.991, allocations: 5.958 MB / 0.852 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003919/0.9949, allocations: 0.6867 MB / 0.8527 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05984/1.055, allocations: 24.56 MB / 0.8766 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/1.059, allocations: 0.529 MB / 0.8772 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000655/1.06, allocations: 91.84 kB / 0.8772 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.06, allocations: 0 / 0.8772 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03996/1.1, allocations: 13.2 MB / 0.8901 GB, free: 14.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/1.1, allocations: 8 kB / 0.8901 GB, free: 14.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01877/1.119, allocations: 5.958 MB / 0.896 GB, free: 8.301 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003914/1.123, allocations: 0.6749 MB / 0.8966 GB, free: 7.625 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3747/1.497, allocations: 24.55 MB / 0.9206 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004677/1.502, allocations: 0.496 MB / 0.9211 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000434/1.503, allocations: 86.73 kB / 0.9212 GB, free: 158.5 MB / 0.5886 GB Warning: Assuming fixed start value for the following 7 variables: 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.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.00175/1.504, allocations: 0.5927 MB / 0.9217 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008748/1.505, allocations: 302.1 kB / 0.922 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04247/1.548, allocations: 14.53 MB / 0.9362 GB, free: 158 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.126e-05/1.548, allocations: 26.22 kB / 0.9362 GB, free: 158 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.358e-05/1.548, allocations: 20.06 kB / 0.9363 GB, free: 158 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.459e-05/1.548, allocations: 13.73 kB / 0.9363 GB, free: 158 MB / 0.5886 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.04351/1.592, allocations: 18.29 MB / 0.9541 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/1.592, allocations: 3.438 kB / 0.9541 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/1.594, allocations: 275.8 kB / 0.9544 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01629/1.61, allocations: 6.005 MB / 0.9603 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001007/1.611, allocations: 53.42 kB / 0.9603 GB, free: 156.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04938/1.66, allocations: 22.71 MB / 0.9825 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.66, allocations: 4 kB / 0.9825 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04382/1.704, allocations: 17.13 MB / 0.9992 GB, free: 137.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.706, allocations: 415.8 kB / 0.9996 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/1.707, allocations: 44 kB / 0.9997 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00389/1.711, allocations: 397.1 kB / 1 GB, free: 137 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002349/1.713, allocations: 0.552 MB / 1.001 GB, free: 136.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005094/1.714, allocations: 63.42 kB / 1.001 GB, free: 136.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003203/1.717, allocations: 1.507 MB / 1.002 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.71e-07/1.717, allocations: 0 / 1.002 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00709/1.724, allocations: 1.747 MB / 1.004 GB, free: 133.7 MB / 0.5886 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007307/1.725, allocations: 196.3 kB / 1.004 GB, free: 133.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02877/1.754, allocations: 11.94 MB / 1.016 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.754, allocations: 0.5 kB / 1.016 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01285/1.767, allocations: 4.764 MB / 1.02 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/1.77, allocations: 232.6 kB / 1.021 GB, free: 119 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.782, allocations: 6.557 MB / 1.027 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/1.784, allocations: 1.903 MB / 1.029 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002024/1.786, allocations: 270.9 kB / 1.029 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008274/1.787, allocations: 147 kB / 1.029 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/1.787, allocations: 0 / 1.029 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.09334/1.881, allocations: 70.22 MB / 1.098 GB, free: 45.96 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)