Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001322/0.001322, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008508/0.0008508, allocations: 90.98 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4487/0.4487, allocations: 78.08 MB / 414.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.75e-05, allocations: 4 kB / 491.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3033, allocations: 69.33 MB / 0.548 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4177, allocations: 100.2 MB / 0.6459 GB, free: 308 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.4179, allocations: 83.95 kB / 0.646 GB, free: 224 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4516/0.8696, allocations: 67.44 MB / 0.7118 GB, free: 96.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.8696, allocations: 0 / 0.7118 GB, free: 96.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001441/0.8698, allocations: 56.06 kB / 0.7119 GB, free: 96.64 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.01045/0.8802, allocations: 4.03 MB / 0.7158 GB, free: 92.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.8803, allocations: 11.97 kB / 0.7158 GB, free: 92.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009497/0.8898, allocations: 1.603 MB / 0.7174 GB, free: 91.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/0.8938, allocations: 1.654 MB / 0.719 GB, free: 89.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005566/0.8944, allocations: 0.6906 MB / 0.7197 GB, free: 88.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.8948, allocations: 207.9 kB / 0.7199 GB, free: 88.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/0.899, allocations: 2.565 MB / 0.7224 GB, free: 85.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.899, allocations: 7.984 kB / 0.7224 GB, free: 85.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/0.8993, allocations: 87.94 kB / 0.7225 GB, free: 85.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.8993, allocations: 48 kB / 0.7225 GB, free: 85.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/0.9028, allocations: 2.336 MB / 0.7248 GB, free: 83.47 MB / 490.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.01568/0.9185, allocations: 10.08 MB / 0.7346 GB, free: 72.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008253/0.9268, allocations: 4.033 MB / 0.7386 GB, free: 68.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/0.9291, allocations: 1.538 MB / 0.7401 GB, free: 67.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.9294, allocations: 46.03 kB / 0.7401 GB, free: 67.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.9294, allocations: 60.56 kB / 0.7402 GB, free: 67.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.518e-06/0.9294, allocations: 3.938 kB / 0.7402 GB, free: 67.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03671/0.9661, allocations: 12.3 MB / 0.7522 GB, free: 54.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.9663, allocations: 239.6 kB / 0.7524 GB, free: 54.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/0.9694, allocations: 1.862 MB / 0.7542 GB, free: 52.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006659/0.97, allocations: 69.7 kB / 0.7543 GB, free: 52.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006517/0.9707, allocations: 1.219 MB / 0.7555 GB, free: 51.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007792/0.9715, allocations: 0.8392 MB / 0.7563 GB, free: 50.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.9717, allocations: 48 kB / 0.7564 GB, free: 50.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.9719, allocations: 394.6 kB / 0.7567 GB, free: 50.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.9738, allocations: 1.239 MB / 0.758 GB, free: 48.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.9757, allocations: 1.535 MB / 0.7595 GB, free: 47.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.9777, allocations: 1.465 MB / 0.7609 GB, free: 45.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.9778, allocations: 4 kB / 0.7609 GB, free: 45.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03164/1.009, allocations: 11.65 MB / 0.7723 GB, free: 33.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004495/1.01, allocations: 2.871 MB / 0.7751 GB, free: 30.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/1.01, allocations: 12 kB / 0.7751 GB, free: 30.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01413/1.024, allocations: 4.792 MB / 0.7798 GB, free: 25.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/1.028, allocations: 0.6827 MB / 0.7804 GB, free: 25.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03297/1.061, allocations: 16.64 MB / 0.7967 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/1.064, allocations: 0.5328 MB / 0.7972 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/1.065, allocations: 79.98 kB / 0.7973 GB, free: 7.879 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/1.065, allocations: 4 kB / 0.7973 GB, free: 7.875 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03128/1.096, allocations: 11.38 MB / 0.8084 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.566e-05/1.096, allocations: 8 kB / 0.8084 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01538/1.112, allocations: 4.792 MB / 0.8131 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/1.115, allocations: 0.6711 MB / 0.8137 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04138/1.157, allocations: 16.66 MB / 0.83 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004515/1.161, allocations: 0.5018 MB / 0.8305 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006832/1.162, allocations: 83.98 kB / 0.8306 GB, free: 5.523 MB / 0.5105 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.001273/1.163, allocations: 295.6 kB / 0.8309 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/1.165, allocations: 300.2 kB / 0.8311 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03914/1.204, allocations: 12.65 MB / 0.8435 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/1.204, allocations: 24 kB / 0.8435 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.611e-05/1.204, allocations: 16 kB / 0.8435 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.659e-05/1.204, allocations: 15.95 kB / 0.8435 GB, free: 8.168 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 postOpt removeSimpleEquations (simulation): time 0.04641/1.25, allocations: 16.39 MB / 0.8596 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/1.25, allocations: 4 kB / 0.8596 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.252, allocations: 279.6 kB / 0.8598 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01588/1.268, allocations: 4.79 MB / 0.8645 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005854/1.269, allocations: 55.92 kB / 0.8646 GB, free: 2.496 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03521/1.304, allocations: 15.39 MB / 0.8796 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.304, allocations: 0 / 0.8796 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04292/1.347, allocations: 14.6 MB / 0.8938 GB, free: 4.27 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.348, allocations: 416.8 kB / 0.8942 GB, free: 3.84 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.349, allocations: 44 kB / 0.8943 GB, free: 3.797 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003825/1.353, allocations: 395.7 kB / 0.8947 GB, free: 3.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0022/1.355, allocations: 0.5563 MB / 0.8952 GB, free: 2.855 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003921/1.356, allocations: 63.98 kB / 0.8953 GB, free: 2.793 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002442/1.358, allocations: 1.429 MB / 0.8967 GB, free: 1.355 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.358, allocations: 0 / 0.8967 GB, free: 1.355 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.2767/1.635, allocations: 1.74 MB / 0.8984 GB, free: 176.6 MB / 0.573 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.0008672/1.636, allocations: 183.4 kB / 0.8985 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0268/1.663, allocations: 9.995 MB / 0.9083 GB, free: 175.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/1.663, allocations: 0 / 0.9083 GB, free: 175.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01139/1.674, allocations: 4.052 MB / 0.9123 GB, free: 174.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/1.676, allocations: 232.5 kB / 0.9125 GB, free: 174.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007056/1.683, allocations: 4.278 MB / 0.9167 GB, free: 173.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.684, allocations: 1.896 MB / 0.9185 GB, free: 172.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001949/1.686, allocations: 459.3 kB / 0.9189 GB, free: 172.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/1.687, allocations: 122.6 kB / 0.9191 GB, free: 172.8 MB / 0.573 GB Notification: Performance of SimCode: time 8.21e-07/1.687, allocations: 0 / 0.9191 GB, free: 172.8 MB / 0.573 GB Notification: Performance of Templates: time 0.08921/1.776, allocations: 74.65 MB / 0.992 GB, free: 118.1 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)