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.0009419/0.0009419, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.276/1.276, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008278/0.0008278, allocations: 91.06 kB / 266.6 MB, free: 9.285 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.06699/0.06699, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2781/0.2781, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.881e-05, allocations: 7.984 kB / 0.5218 GB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 69.33 MB / 0.5895 GB, free: 2.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/0.463, allocations: 101.9 MB / 0.6889 GB, free: 13.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001661/0.4632, allocations: 74.64 kB / 0.689 GB, free: 13.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1669/0.6301, allocations: 65.64 MB / 0.7531 GB, free: 6.113 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.6301, allocations: 0 / 0.7531 GB, free: 6.113 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001604/0.6303, allocations: 63.88 kB / 0.7532 GB, free: 6.051 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.0115/0.6418, allocations: 4.026 MB / 0.7571 GB, free: 2.258 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.6418, allocations: 11.98 kB / 0.7571 GB, free: 2.246 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009503/0.6513, allocations: 1.604 MB / 0.7587 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/0.6544, allocations: 1.666 MB / 0.7603 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006054/0.6551, allocations: 0.6904 MB / 0.761 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/0.6555, allocations: 211.9 kB / 0.7612 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004501/0.66, allocations: 2.565 MB / 0.7637 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.6601, allocations: 11.92 kB / 0.7637 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.6603, allocations: 80 kB / 0.7638 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.6604, allocations: 48 kB / 0.7638 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004163/0.6645, allocations: 2.324 MB / 0.7661 GB, free: 8.891 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 preOpt removeSimpleEquations (simulation): time 0.01784/0.6824, allocations: 10.08 MB / 0.7759 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009453/0.6919, allocations: 4.037 MB / 0.7799 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002471/0.6944, allocations: 1.538 MB / 0.7814 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.6947, allocations: 46.03 kB / 0.7814 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.6947, allocations: 56.56 kB / 0.7815 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=243): time 4.168e-06/0.6947, allocations: 0 / 0.7815 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of matching and sorting (n=243): time 0.03822/0.733, allocations: 12.31 MB / 0.7935 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.7331, allocations: 235.6 kB / 0.7937 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.7361, allocations: 1.874 MB / 0.7956 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005532/0.7366, allocations: 69.7 kB / 0.7956 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009102/0.7376, allocations: 1.216 MB / 0.7968 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.7386, allocations: 0.8393 MB / 0.7976 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.7388, allocations: 48 kB / 0.7977 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.739, allocations: 390.6 kB / 0.7981 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.7413, allocations: 1.231 MB / 0.7993 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/0.7438, allocations: 1.547 MB / 0.8008 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.7463, allocations: 1.458 MB / 0.8022 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.7463, allocations: 7.953 kB / 0.8022 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03418/0.7805, allocations: 11.65 MB / 0.8136 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009903/0.7815, allocations: 2.88 MB / 0.8164 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.7816, allocations: 11.94 kB / 0.8164 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01532/0.7969, allocations: 4.784 MB / 0.8211 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003694/0.8006, allocations: 0.6906 MB / 0.8217 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03739/0.838, allocations: 16.64 MB / 0.838 GB, free: 13.87 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/0.8419, allocations: 0.529 MB / 0.8385 GB, free: 13.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/0.8423, allocations: 83.98 kB / 0.8386 GB, free: 13.26 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.8423, allocations: 4 kB / 0.8386 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03325/0.8755, allocations: 11.37 MB / 0.8497 GB, free: 1.805 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/0.8756, allocations: 11.95 kB / 0.8497 GB, free: 1.793 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0151/0.8907, allocations: 4.784 MB / 0.8544 GB, free: 13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003521/0.8943, allocations: 0.6788 MB / 0.855 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.286/1.18, allocations: 16.65 MB / 0.8713 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003944/1.184, allocations: 0.4974 MB / 0.8718 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003319/1.185, allocations: 85.98 kB / 0.8719 GB, free: 152.6 MB / 0.5886 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.0006373/1.185, allocations: 288.5 kB / 0.8722 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005761/1.186, allocations: 296.8 kB / 0.8724 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03852/1.224, allocations: 12.65 MB / 0.8848 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-05/1.224, allocations: 23.88 kB / 0.8848 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-05/1.224, allocations: 18.89 kB / 0.8848 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/1.224, allocations: 12.38 kB / 0.8848 GB, free: 152.2 MB / 0.5886 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.03925/1.264, allocations: 16.41 MB / 0.9009 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.264, allocations: 0 / 0.9009 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/1.265, allocations: 281.4 kB / 0.9011 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01383/1.279, allocations: 4.791 MB / 0.9058 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006429/1.28, allocations: 54.78 kB / 0.9059 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03058/1.311, allocations: 15.39 MB / 0.9209 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.311, allocations: 1.312 kB / 0.9209 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03743/1.348, allocations: 14.59 MB / 0.9352 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009255/1.349, allocations: 419 kB / 0.9356 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006267/1.35, allocations: 47.16 kB / 0.9356 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/1.353, allocations: 396.7 kB / 0.936 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00179/1.355, allocations: 0.5505 MB / 0.9365 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002047/1.355, allocations: 62.12 kB / 0.9366 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001778/1.357, allocations: 1.435 MB / 0.938 GB, free: 143 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.31e-07/1.357, allocations: 0 / 0.938 GB, free: 143 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004114/1.361, allocations: 1.738 MB / 0.9397 GB, free: 142.4 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 () * 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.0004217/1.361, allocations: 193.2 kB / 0.9399 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02391/1.385, allocations: 9.99 MB / 0.9496 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.385, allocations: 0 / 0.9496 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01089/1.396, allocations: 4.058 MB / 0.9536 GB, free: 129.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/1.398, allocations: 241.8 kB / 0.9538 GB, free: 129.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/1.405, allocations: 4.277 MB / 0.958 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.406, allocations: 1.897 MB / 0.9598 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001876/1.408, allocations: 458 kB / 0.9603 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/1.408, allocations: 122.1 kB / 0.9604 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of SimCode: time 7.11e-07/1.408, allocations: 0 / 0.9604 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.08706/1.495, allocations: 74.66 MB / 1.033 GB, free: 59.47 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)