Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 173.9 kB / 7.648 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.291/1.291, allocations: 221.5 MB / 229.6 MB, free: 3.109 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.000869/0.0008691, allocations: 96.41 kB / 280.5 MB, free: 1.129 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4231/0.4231, allocations: 78.12 MB / 409.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.824e-05, allocations: 4 kB / 485 MB, free: 4.172 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.311, allocations: 69.34 MB / 0.5413 GB, free: 21.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.4235, allocations: 98.56 MB / 0.6376 GB, free: 6.207 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4238, allocations: 79.95 kB / 0.6376 GB, free: 6.129 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4092/0.8331, allocations: 61.24 MB / 0.6974 GB, free: 98.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.8332, allocations: 0 / 0.6974 GB, free: 98.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001147/0.8333, allocations: 50.66 kB / 0.6975 GB, free: 98.18 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.009889/0.8432, allocations: 3.785 MB / 0.7012 GB, free: 96.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.8432, allocations: 11.19 kB / 0.7012 GB, free: 96.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009077/0.8523, allocations: 1.571 MB / 0.7027 GB, free: 96.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.8547, allocations: 1.488 MB / 0.7042 GB, free: 96.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/0.8551, allocations: 0.6132 MB / 0.7048 GB, free: 95.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003044/0.8554, allocations: 119 kB / 0.7049 GB, free: 95.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003067/0.8585, allocations: 2.094 MB / 0.7069 GB, free: 95.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/0.8618, allocations: 2.167 MB / 0.7091 GB, free: 94.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.8618, allocations: 4 kB / 0.7091 GB, free: 94.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.862, allocations: 3.953 kB / 0.7091 GB, free: 94.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.8621, allocations: 46.97 kB / 0.7091 GB, free: 94.55 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.01436/0.8764, allocations: 9.388 MB / 0.7183 GB, free: 88.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008376/0.8848, allocations: 4.002 MB / 0.7222 GB, free: 85.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.8867, allocations: 1.383 MB / 0.7235 GB, free: 83.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.8869, allocations: 38.83 kB / 0.7236 GB, free: 83.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.887, allocations: 56.56 kB / 0.7236 GB, free: 83.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 4.539e-06/0.887, allocations: 3.938 kB / 0.7236 GB, free: 83.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03288/0.9199, allocations: 11.94 MB / 0.7353 GB, free: 71.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.92, allocations: 128.8 kB / 0.7354 GB, free: 71.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.922, allocations: 1.527 MB / 0.7369 GB, free: 70.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004702/0.9225, allocations: 33.69 kB / 0.7369 GB, free: 70.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005387/0.923, allocations: 1.128 MB / 0.738 GB, free: 69.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007233/0.9237, allocations: 0.7697 MB / 0.7388 GB, free: 68.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.9239, allocations: 3.938 kB / 0.7388 GB, free: 68.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.924, allocations: 386.2 kB / 0.7392 GB, free: 67.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.9257, allocations: 1.133 MB / 0.7403 GB, free: 66.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.9274, allocations: 1.416 MB / 0.7417 GB, free: 65.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.9291, allocations: 1.24 MB / 0.7429 GB, free: 63.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.9291, allocations: 0 / 0.7429 GB, free: 63.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03507/0.9642, allocations: 12.11 MB / 0.7547 GB, free: 51.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003905/0.9646, allocations: 2.735 MB / 0.7574 GB, free: 48.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.9646, allocations: 4 kB / 0.7574 GB, free: 48.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01539/0.98, allocations: 5.055 MB / 0.7623 GB, free: 43.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.9816, allocations: 323.5 kB / 0.7626 GB, free: 43.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03696/1.019, allocations: 18.89 MB / 0.7811 GB, free: 24.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/1.022, allocations: 445.9 kB / 0.7815 GB, free: 24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/1.022, allocations: 83.92 kB / 0.7816 GB, free: 23.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/1.022, allocations: 4 kB / 0.7816 GB, free: 23.91 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03265/1.055, allocations: 11.79 MB / 0.7931 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.171e-05/1.055, allocations: 11.95 kB / 0.7931 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01507/1.07, allocations: 5.055 MB / 0.798 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/1.072, allocations: 307.5 kB / 0.7983 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03764/1.109, allocations: 18.89 MB / 0.8168 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/1.113, allocations: 422 kB / 0.8172 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/1.113, allocations: 79.98 kB / 0.8172 GB, free: 3.156 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (189): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006214/1.114, allocations: 142.4 kB / 0.8174 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005869/1.114, allocations: 272.6 kB / 0.8176 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03645/1.151, allocations: 12.21 MB / 0.8296 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/1.151, allocations: 24 kB / 0.8296 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.212e-05/1.151, allocations: 23.95 kB / 0.8296 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.618e-05/1.151, allocations: 11.95 kB / 0.8296 GB, free: 6.441 MB / 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 postOpt removeSimpleEquations (simulation): time 0.04156/1.193, allocations: 15.55 MB / 0.8448 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.193, allocations: 3.953 kB / 0.8448 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/1.194, allocations: 255.8 kB / 0.8451 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01507/1.209, allocations: 4.828 MB / 0.8498 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005188/1.21, allocations: 12 kB / 0.8498 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03425/1.244, allocations: 15.17 MB / 0.8646 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.244, allocations: 0 / 0.8646 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03963/1.284, allocations: 14.14 MB / 0.8784 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000914/1.285, allocations: 389.3 kB / 0.8788 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007011/1.286, allocations: 4 kB / 0.8788 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003016/1.289, allocations: 327.6 kB / 0.8791 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001746/1.29, allocations: 0.5525 MB / 0.8796 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002006/1.291, allocations: 59.98 kB / 0.8797 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001608/1.292, allocations: 1.142 MB / 0.8808 GB, free: 1.715 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/1.292, allocations: 0 / 0.8808 GB, free: 1.715 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004373/1.297, allocations: 1.568 MB / 0.8823 GB, free: 148 kB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004119/1.297, allocations: 154.3 kB / 0.8825 GB, free: 15.99 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02641/1.323, allocations: 9.411 MB / 0.8917 GB, free: 6.531 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.323, allocations: 0 / 0.8917 GB, free: 6.531 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01164/1.335, allocations: 3.842 MB / 0.8954 GB, free: 2.68 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/1.337, allocations: 159.3 kB / 0.8956 GB, free: 2.523 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2533/1.59, allocations: 4.046 MB / 0.8995 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/1.592, allocations: 1.802 MB / 0.9013 GB, free: 175.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00194/1.594, allocations: 353.9 kB / 0.9016 GB, free: 175.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/1.594, allocations: 106.4 kB / 0.9017 GB, free: 175.4 MB / 0.573 GB Notification: Performance of SimCode: time 6.91e-07/1.594, allocations: 0 / 0.9017 GB, free: 175.4 MB / 0.573 GB Notification: Performance of Templates: time 0.08504/1.679, allocations: 70.37 MB / 0.9704 GB, free: 138.8 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)