Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 174.6 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0008748/0.0008747, allocations: 94.03 kB / 280.5 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4713/0.4713, allocations: 78.93 MB / 410.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.426e-05/1.429e-05, allocations: 4 kB / 485.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1398, allocations: 69.52 MB / 0.5424 GB, free: 5.879 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.421/0.5608, allocations: 100.2 MB / 0.6402 GB, free: 13.93 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.5611, allocations: 75.95 kB / 0.6403 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1768/0.7379, allocations: 67.43 MB / 0.7062 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/0.738, allocations: 0 / 0.7062 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002017/0.7382, allocations: 63.88 kB / 0.7062 GB, free: 10.26 MB / 0.5105 GB 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.01344/0.7517, allocations: 4.03 MB / 0.7102 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.7517, allocations: 8.031 kB / 0.7102 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.7623, allocations: 1.592 MB / 0.7117 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/0.7667, allocations: 1.658 MB / 0.7133 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007357/0.7674, allocations: 0.6124 MB / 0.7139 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007997/0.7683, allocations: 123.9 kB / 0.7141 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004746/0.773, allocations: 2.23 MB / 0.7162 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004359/0.7774, allocations: 2.291 MB / 0.7185 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/0.7775, allocations: 0 / 0.7185 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.7777, allocations: 0 / 0.7185 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.7777, allocations: 48 kB / 0.7185 GB, free: 13.34 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.02154/0.7993, allocations: 9.748 MB / 0.728 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009337/0.8087, allocations: 3.962 MB / 0.7319 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002918/0.8116, allocations: 1.468 MB / 0.7333 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/0.812, allocations: 42.03 kB / 0.7334 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/0.812, allocations: 64.5 kB / 0.7334 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=243): time 5.872e-06/0.812, allocations: 0 / 0.7334 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=243): time 0.03822/0.8503, allocations: 12.08 MB / 0.7452 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.8504, allocations: 235.6 kB / 0.7455 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.8534, allocations: 1.721 MB / 0.7472 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000751/0.8542, allocations: 29.7 kB / 0.7472 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.8553, allocations: 1.204 MB / 0.7484 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001333/0.8566, allocations: 0.8119 MB / 0.7492 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.8568, allocations: 0 / 0.7492 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.857, allocations: 390.6 kB / 0.7495 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.859, allocations: 1.196 MB / 0.7507 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.8612, allocations: 1.484 MB / 0.7521 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.8633, allocations: 1.307 MB / 0.7534 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/0.8634, allocations: 4 kB / 0.7534 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.3375/1.201, allocations: 11.33 MB / 0.7645 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006158/1.202, allocations: 2.878 MB / 0.7673 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.202, allocations: 7.219 kB / 0.7673 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01501/1.217, allocations: 4.621 MB / 0.7718 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/1.22, allocations: 0.693 MB / 0.7725 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03469/1.255, allocations: 16.32 MB / 0.7884 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/1.259, allocations: 487.4 kB / 0.7889 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003709/1.259, allocations: 82.86 kB / 0.789 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.259, allocations: 9.641 kB / 0.789 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03393/1.293, allocations: 11 MB / 0.7997 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.535e-05/1.293, allocations: 6.875 kB / 0.7997 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01678/1.31, allocations: 4.63 MB / 0.8043 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003845/1.314, allocations: 0.6768 MB / 0.8049 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03709/1.351, allocations: 16.33 MB / 0.8209 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004148/1.355, allocations: 463 kB / 0.8213 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004673/1.356, allocations: 85.34 kB / 0.8214 GB, free: 101.7 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete 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.0007995/1.357, allocations: 214 kB / 0.8216 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007596/1.357, allocations: 295.9 kB / 0.8219 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03422/1.392, allocations: 12.37 MB / 0.8339 GB, free: 98.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.098e-05/1.392, allocations: 22.84 kB / 0.834 GB, free: 98.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.88e-05/1.392, allocations: 23.81 kB / 0.834 GB, free: 98.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.18e-05/1.392, allocations: 10.78 kB / 0.834 GB, free: 98.91 MB / 0.5573 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.04085/1.433, allocations: 15.91 MB / 0.8495 GB, free: 94.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.433, allocations: 0.5625 kB / 0.8495 GB, free: 94.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/1.435, allocations: 283.7 kB / 0.8498 GB, free: 94.65 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01413/1.449, allocations: 4.749 MB / 0.8544 GB, free: 93.78 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006366/1.449, allocations: 19.84 kB / 0.8545 GB, free: 93.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03636/1.486, allocations: 15.21 MB / 0.8693 GB, free: 83.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.486, allocations: 7.656 kB / 0.8693 GB, free: 83.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06589/1.552, allocations: 14.32 MB / 0.8833 GB, free: 71.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.553, allocations: 410.6 kB / 0.8837 GB, free: 71.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/1.555, allocations: 11.95 kB / 0.8837 GB, free: 71.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006303/1.561, allocations: 354.8 kB / 0.884 GB, free: 71.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003299/1.565, allocations: 0.5524 MB / 0.8846 GB, free: 70.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005516/1.565, allocations: 60 kB / 0.8846 GB, free: 70.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00316/1.568, allocations: 1.293 MB / 0.8859 GB, free: 69.65 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.61e-07/1.568, allocations: 1.781 kB / 0.8859 GB, free: 69.65 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008389/1.577, allocations: 1.58 MB / 0.8875 GB, free: 68.15 MB / 0.5573 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 () * 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.0007129/1.578, allocations: 154.5 kB / 0.8876 GB, free: 68.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0399/1.618, allocations: 9.696 MB / 0.8971 GB, free: 59.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.618, allocations: 3.5 kB / 0.8971 GB, free: 59.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01838/1.636, allocations: 3.967 MB / 0.9009 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/1.639, allocations: 191.4 kB / 0.9011 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/1.65, allocations: 4.159 MB / 0.9052 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/1.651, allocations: 1.9 MB / 0.907 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002685/1.654, allocations: 451.9 kB / 0.9075 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/1.655, allocations: 125.4 kB / 0.9076 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/1.655, allocations: 0 / 0.9076 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of Templates: time 0.09254/1.747, allocations: 68.83 MB / 0.9748 GB, free: 3.57 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)