Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.009349/0.009348, allocations: 170.9 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.449/1.449, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008169/0.000817, allocations: 94.84 kB / 269.6 MB, free: 13.37 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.06382/0.06382, allocations: 12.6 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.4196/0.4196, allocations: 78.51 MB / 460 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004744, allocations: 17.16 kB / 0.5285 GB, free: 35.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 69.34 MB / 0.5962 GB, free: 3.832 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3715/0.4958, allocations: 101.5 MB / 0.6953 GB, free: 35.63 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.496, allocations: 75.33 kB / 0.6954 GB, free: 35.63 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1464/0.6424, allocations: 65.04 MB / 0.7589 GB, free: 20.94 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6424, allocations: 0 / 0.7589 GB, free: 20.94 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002724/0.6427, allocations: 58.47 kB / 0.759 GB, free: 20.93 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01377/0.6565, allocations: 4.593 MB / 0.7635 GB, free: 18.39 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6566, allocations: 11.7 kB / 0.7635 GB, free: 18.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009852/0.6664, allocations: 1.622 MB / 0.7651 GB, free: 17.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004612/0.6711, allocations: 1.708 MB / 0.7667 GB, free: 16.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005727/0.6717, allocations: 0.6885 MB / 0.7674 GB, free: 16.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008873/0.6726, allocations: 209.9 kB / 0.7676 GB, free: 16.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007732/0.6803, allocations: 3.217 MB / 0.7707 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.191e-05/0.6804, allocations: 3.188 kB / 0.7707 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004802/0.6809, allocations: 80.44 kB / 0.7708 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.681, allocations: 57.48 kB / 0.7709 GB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005744/0.6867, allocations: 3.015 MB / 0.7738 GB, free: 15.02 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.01738/0.7041, allocations: 9.995 MB / 0.7836 GB, free: 9.938 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009958/0.7141, allocations: 4.745 MB / 0.7882 GB, free: 7.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.7144, allocations: 45.09 kB / 0.7883 GB, free: 7.211 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.7144, allocations: 59.25 kB / 0.7883 GB, free: 7.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 3.838e-06/0.7145, allocations: 0 / 0.7883 GB, free: 7.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.09926/0.8137, allocations: 28.48 MB / 0.8161 GB, free: 10.92 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.8139, allocations: 231.6 kB / 0.8163 GB, free: 10.64 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00455/0.8185, allocations: 1.912 MB / 0.8182 GB, free: 8.719 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007091/0.8192, allocations: 61.7 kB / 0.8183 GB, free: 8.652 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.8204, allocations: 1.204 MB / 0.8194 GB, free: 7.438 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001489/0.8219, allocations: 0.8354 MB / 0.8203 GB, free: 6.59 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004955/0.8224, allocations: 44 kB / 0.8203 GB, free: 6.547 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002493/0.8226, allocations: 390.6 kB / 0.8207 GB, free: 6.16 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004118/0.8268, allocations: 1.867 MB / 0.8225 GB, free: 4.289 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/0.831, allocations: 2.19 MB / 0.8246 GB, free: 1.992 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/0.8353, allocations: 2.097 MB / 0.8267 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.8353, allocations: 0 / 0.8267 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.04138/0.8767, allocations: 14.33 MB / 0.8407 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001321/0.878, allocations: 2.875 MB / 0.8435 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.8781, allocations: 4 kB / 0.8435 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01903/0.8971, allocations: 6.317 MB / 0.8496 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/0.8994, allocations: 383.4 kB / 0.85 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06796/0.9674, allocations: 26.01 MB / 0.8754 GB, free: 13.46 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004187/0.9716, allocations: 0.5173 MB / 0.8759 GB, free: 12.94 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000667/0.9723, allocations: 87.97 kB / 0.876 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.9723, allocations: 4 kB / 0.876 GB, free: 12.85 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04178/1.014, allocations: 13.99 MB / 0.8897 GB, free: 14.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/1.014, allocations: 11.98 kB / 0.8897 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01823/1.032, allocations: 6.32 MB / 0.8959 GB, free: 8.438 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/1.035, allocations: 363.5 kB / 0.8962 GB, free: 8.082 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3604/1.395, allocations: 26.01 MB / 0.9216 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/1.399, allocations: 0.4921 MB / 0.9221 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004291/1.4, allocations: 84.34 kB / 0.9222 GB, free: 156.4 MB / 0.5886 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (208): * Single equations (assignments): 203 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001579/1.401, allocations: 0.5822 MB / 0.9227 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008208/1.402, allocations: 298.8 kB / 0.923 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04158/1.444, allocations: 14.51 MB / 0.9372 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.84e-05/1.444, allocations: 27.38 kB / 0.9372 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-05/1.444, allocations: 18 kB / 0.9372 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.164e-05/1.444, allocations: 15.28 kB / 0.9372 GB, free: 155.9 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.04739/1.491, allocations: 18.22 MB / 0.955 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/1.491, allocations: 7.297 kB / 0.955 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.493, allocations: 278.2 kB / 0.9553 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01641/1.51, allocations: 6.041 MB / 0.9612 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008324/1.511, allocations: 49.06 kB / 0.9613 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05111/1.562, allocations: 22.67 MB / 0.9834 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.562, allocations: 4 kB / 0.9834 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04385/1.606, allocations: 17.09 MB / 1 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.607, allocations: 406.3 kB / 1 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/1.608, allocations: 51.89 kB / 1.001 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003637/1.612, allocations: 393.9 kB / 1.001 GB, free: 135.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002207/1.614, allocations: 0.5555 MB / 1.001 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004662/1.614, allocations: 55.33 kB / 1.001 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002904/1.617, allocations: 1.481 MB / 1.003 GB, free: 134.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.3e-07/1.617, allocations: 4 kB / 1.003 GB, free: 134.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007051/1.624, allocations: 1.755 MB / 1.005 GB, free: 132.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (163): * Single equations (assignments): 160 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008018/1.625, allocations: 193 kB / 1.005 GB, free: 132.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02976/1.655, allocations: 11.93 MB / 1.016 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.655, allocations: 3.828 kB / 1.016 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01248/1.668, allocations: 4.774 MB / 1.021 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.67, allocations: 236.8 kB / 1.021 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/1.682, allocations: 6.473 MB / 1.028 GB, free: 112 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/1.684, allocations: 1.899 MB / 1.03 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001816/1.686, allocations: 273.4 kB / 1.03 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007516/1.686, allocations: 135.2 kB / 1.03 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of SimCode: time 8.11e-07/1.686, allocations: 0 / 1.03 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.09155/1.778, allocations: 72.12 MB / 1.1 GB, free: 43.18 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)