Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009329/0.000933, 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 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0007979/0.0007978, allocations: 91.22 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.4748/0.4748, allocations: 78.91 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.78e-05, allocations: 4 kB / 492.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3238, allocations: 69.51 MB / 0.5491 GB, free: 19.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.4454, allocations: 99.59 MB / 0.6464 GB, free: 8 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.4458, allocations: 72.05 kB / 0.6464 GB, free: 15.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4713/0.9171, allocations: 62.49 MB / 0.7075 GB, free: 99.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.9171, allocations: 3.094 kB / 0.7075 GB, free: 99.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001145/0.9172, allocations: 54.53 kB / 0.7075 GB, free: 99.25 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01086/0.9281, allocations: 3.761 MB / 0.7112 GB, free: 97.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.9282, allocations: 15.91 kB / 0.7112 GB, free: 97.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009498/0.9377, allocations: 1.58 MB / 0.7128 GB, free: 95.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/0.9409, allocations: 1.473 MB / 0.7142 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004992/0.9415, allocations: 0.6825 MB / 0.7149 GB, free: 93.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004218/0.9419, allocations: 191.9 kB / 0.715 GB, free: 93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/0.9457, allocations: 2.423 MB / 0.7174 GB, free: 90.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.9457, allocations: 3.953 kB / 0.7174 GB, free: 90.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.9459, allocations: 76 kB / 0.7175 GB, free: 90.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.946, allocations: 48 kB / 0.7175 GB, free: 90.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/0.9492, allocations: 2.183 MB / 0.7197 GB, free: 88.25 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.01526/0.9645, allocations: 9.669 MB / 0.7291 GB, free: 78.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008265/0.9728, allocations: 4.053 MB / 0.7331 GB, free: 74.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002363/0.9752, allocations: 1.448 MB / 0.7345 GB, free: 72.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.9755, allocations: 41.95 kB / 0.7345 GB, free: 72.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.9755, allocations: 60.56 kB / 0.7346 GB, free: 72.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 4.268e-06/0.9755, allocations: 0 / 0.7346 GB, free: 72.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=229): time 0.03347/1.009, allocations: 12.08 MB / 0.7464 GB, free: 60.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/1.009, allocations: 128.8 kB / 0.7465 GB, free: 60.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/1.012, allocations: 1.656 MB / 0.7481 GB, free: 58.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005888/1.012, allocations: 61.7 kB / 0.7482 GB, free: 58.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/1.013, allocations: 1.14 MB / 0.7493 GB, free: 57.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000945/1.014, allocations: 0.7853 MB / 0.75 GB, free: 56.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/1.014, allocations: 44 kB / 0.7501 GB, free: 56.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/1.014, allocations: 386.3 kB / 0.7505 GB, free: 56.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/1.016, allocations: 1.16 MB / 0.7516 GB, free: 54.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/1.018, allocations: 1.471 MB / 0.753 GB, free: 53.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/1.019, allocations: 1.273 MB / 0.7543 GB, free: 52.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/1.019, allocations: 4 kB / 0.7543 GB, free: 52.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03394/1.053, allocations: 12.25 MB / 0.7662 GB, free: 39.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004422/1.054, allocations: 2.735 MB / 0.7689 GB, free: 36.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.054, allocations: 8 kB / 0.7689 GB, free: 36.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0152/1.069, allocations: 5.207 MB / 0.774 GB, free: 31.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.071, allocations: 343.4 kB / 0.7743 GB, free: 31.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03809/1.109, allocations: 17.9 MB / 0.7918 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00441/1.113, allocations: 493.8 kB / 0.7923 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009535/1.114, allocations: 75.97 kB / 0.7923 GB, free: 12.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.114, allocations: 4 kB / 0.7923 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03522/1.15, allocations: 11.97 MB / 0.804 GB, free: 0.707 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/1.15, allocations: 7.953 kB / 0.804 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01685/1.167, allocations: 5.219 MB / 0.8091 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/1.169, allocations: 327.5 kB / 0.8095 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04532/1.214, allocations: 17.87 MB / 0.8269 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/1.218, allocations: 477.9 kB / 0.8274 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006248/1.219, allocations: 75.98 kB / 0.8274 GB, free: 8.582 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 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.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 (188): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001164/1.22, allocations: 234.1 kB / 0.8277 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.221, allocations: 276.6 kB / 0.8279 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03773/1.259, allocations: 12.41 MB / 0.84 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/1.259, allocations: 23.95 kB / 0.8401 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.5e-05/1.259, allocations: 20 kB / 0.8401 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.202e-05/1.259, allocations: 11.95 kB / 0.8401 GB, free: 11.57 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.04692/1.306, allocations: 15.94 MB / 0.8557 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/1.306, allocations: 0 / 0.8557 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/1.308, allocations: 263.8 kB / 0.8559 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01631/1.325, allocations: 4.798 MB / 0.8606 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008751/1.325, allocations: 51.92 kB / 0.8606 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04196/1.367, allocations: 15.36 MB / 0.8756 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.368, allocations: 7.938 kB / 0.8756 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0436/1.411, allocations: 14.31 MB / 0.8896 GB, free: 8.473 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.412, allocations: 389.2 kB / 0.89 GB, free: 8.07 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007327/1.413, allocations: 36 kB / 0.89 GB, free: 8.035 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003139/1.416, allocations: 375.6 kB / 0.8904 GB, free: 7.668 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002001/1.418, allocations: 0.5369 MB / 0.8909 GB, free: 7.129 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/1.418, allocations: 55.98 kB / 0.891 GB, free: 7.074 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001842/1.42, allocations: 1.274 MB / 0.8922 GB, free: 5.785 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.41e-07/1.42, allocations: 4 kB / 0.8922 GB, free: 5.781 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004805/1.425, allocations: 1.701 MB / 0.8939 GB, free: 4.078 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (148): * Single equations (assignments): 147 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004483/1.426, allocations: 185.2 kB / 0.894 GB, free: 3.887 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3252/1.751, allocations: 9.425 MB / 0.9032 GB, free: 177.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.751, allocations: 0 / 0.9032 GB, free: 177.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01257/1.764, allocations: 3.883 MB / 0.907 GB, free: 177.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/1.766, allocations: 192.3 kB / 0.9072 GB, free: 177.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/1.773, allocations: 4.068 MB / 0.9112 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.774, allocations: 1.799 MB / 0.913 GB, free: 175.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001703/1.776, allocations: 354.8 kB / 0.9133 GB, free: 175.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/1.776, allocations: 109.8 kB / 0.9134 GB, free: 175.7 MB / 0.573 GB Notification: Performance of SimCode: time 9.02e-07/1.776, allocations: 3 kB / 0.9134 GB, free: 175.7 MB / 0.573 GB Notification: Performance of Templates: time 0.1005/1.877, allocations: 75.31 MB / 0.9869 GB, free: 121.8 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)