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.0008922/0.0008922, allocations: 180.9 kB / 7.651 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.25/1.25, allocations: 221.5 MB / 229.6 MB, free: 7.543 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.0008527/0.0008526, allocations: 88.86 kB / 280.5 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4398/0.4398, allocations: 78.12 MB / 409.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.55e-05, allocations: 7.938 kB / 485 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 69.35 MB / 0.5413 GB, free: 6.949 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4695, allocations: 99.57 MB / 0.6386 GB, free: 172 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.4698, allocations: 79.89 kB / 0.6386 GB, free: 92 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1687/0.6385, allocations: 66.59 MB / 0.7037 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6385, allocations: 0 / 0.7037 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001454/0.6386, allocations: 68.91 kB / 0.7037 GB, free: 13.32 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.01078/0.6494, allocations: 4.026 MB / 0.7077 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.6495, allocations: 8.031 kB / 0.7077 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009456/0.6589, allocations: 1.6 MB / 0.7092 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.6621, allocations: 1.643 MB / 0.7108 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005724/0.6627, allocations: 0.6163 MB / 0.7114 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004006/0.6631, allocations: 131.9 kB / 0.7116 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003828/0.6669, allocations: 2.226 MB / 0.7137 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003908/0.6708, allocations: 2.283 MB / 0.716 GB, free: 464 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/0.6709, allocations: 7.984 kB / 0.716 GB, free: 456 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.6711, allocations: 0 / 0.716 GB, free: 456 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.6711, allocations: 48.66 kB / 0.716 GB, free: 408 kB / 0.5105 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.018/0.6892, allocations: 9.74 MB / 0.7255 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008903/0.6981, allocations: 3.957 MB / 0.7294 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.7001, allocations: 1.482 MB / 0.7308 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.7004, allocations: 42.03 kB / 0.7309 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.7005, allocations: 68.52 kB / 0.7309 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=243): time 3.697e-06/0.7005, allocations: 0 / 0.7309 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of matching and sorting (n=243): time 0.03645/0.7369, allocations: 12.09 MB / 0.7427 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/0.7371, allocations: 231.6 kB / 0.743 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.7396, allocations: 1.721 MB / 0.7446 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004986/0.7401, allocations: 25.7 kB / 0.7447 GB, free: 2.398 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008169/0.7409, allocations: 1.208 MB / 0.7459 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000833/0.7418, allocations: 0.8119 MB / 0.7466 GB, free: 364 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.742, allocations: 0 / 0.7466 GB, free: 364 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7421, allocations: 398.6 kB / 0.747 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/0.7441, allocations: 1.184 MB / 0.7482 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.7462, allocations: 1.485 MB / 0.7496 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.7482, allocations: 1.307 MB / 0.7509 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.7482, allocations: 4 kB / 0.7509 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03308/0.7813, allocations: 11.34 MB / 0.762 GB, free: 448 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.2535/1.035, allocations: 2.862 MB / 0.7648 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.766e-05/1.035, allocations: 4.031 kB / 0.7648 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01442/1.049, allocations: 4.634 MB / 0.7693 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003598/1.053, allocations: 0.685 MB / 0.77 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03383/1.087, allocations: 16.32 MB / 0.7859 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/1.091, allocations: 490.7 kB / 0.7864 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004438/1.092, allocations: 83.95 kB / 0.7865 GB, free: 109 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.092, allocations: 4.031 kB / 0.7865 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03293/1.125, allocations: 11 MB / 0.7972 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.402e-05/1.125, allocations: 11.28 kB / 0.7972 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01545/1.14, allocations: 4.631 MB / 0.8018 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/1.144, allocations: 0.6714 MB / 0.8024 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03409/1.178, allocations: 16.32 MB / 0.8183 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/1.182, allocations: 456.7 kB / 0.8188 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/1.182, allocations: 83.11 kB / 0.8189 GB, free: 104.6 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.0006966/1.183, allocations: 216.9 kB / 0.8191 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/1.183, allocations: 297.8 kB / 0.8194 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03327/1.217, allocations: 12.38 MB / 0.8314 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/1.217, allocations: 24.91 kB / 0.8315 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/1.217, allocations: 18.81 kB / 0.8315 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-05/1.217, allocations: 10.97 kB / 0.8315 GB, free: 101.8 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.03993/1.257, allocations: 15.91 MB / 0.847 GB, free: 97.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/1.257, allocations: 0.6875 kB / 0.847 GB, free: 97.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/1.258, allocations: 277 kB / 0.8473 GB, free: 97.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01342/1.272, allocations: 4.752 MB / 0.8519 GB, free: 96.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004499/1.272, allocations: 14.94 kB / 0.8519 GB, free: 96.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02936/1.302, allocations: 15.21 MB / 0.8668 GB, free: 87.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.302, allocations: 0 / 0.8668 GB, free: 87.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03679/1.338, allocations: 14.33 MB / 0.8808 GB, free: 75.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008395/1.339, allocations: 413.6 kB / 0.8812 GB, free: 75.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005651/1.34, allocations: 12.84 kB / 0.8812 GB, free: 75.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002883/1.343, allocations: 355.2 kB / 0.8815 GB, free: 74.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001676/1.345, allocations: 0.5496 MB / 0.8821 GB, free: 74.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.345, allocations: 63.23 kB / 0.8821 GB, free: 74.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001566/1.346, allocations: 1.287 MB / 0.8834 GB, free: 73.28 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/1.346, allocations: 4 kB / 0.8834 GB, free: 73.28 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00468/1.351, allocations: 1.576 MB / 0.8849 GB, free: 71.77 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.0004045/1.351, allocations: 153.6 kB / 0.8851 GB, free: 71.64 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02306/1.374, allocations: 9.712 MB / 0.8946 GB, free: 62.79 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.374, allocations: 4.062 kB / 0.8946 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01064/1.385, allocations: 3.954 MB / 0.8984 GB, free: 59.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/1.387, allocations: 200.9 kB / 0.8986 GB, free: 59.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/1.393, allocations: 4.158 MB / 0.9027 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009794/1.394, allocations: 1.892 MB / 0.9045 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001916/1.396, allocations: 458.8 kB / 0.905 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/1.397, allocations: 127.2 kB / 0.9051 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/1.397, allocations: 0 / 0.9051 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of Templates: time 0.08187/1.479, allocations: 68.83 MB / 0.9723 GB, free: 8.25 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)