Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009243/0.0009244, 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.164/1.164, allocations: 221.4 MB / 234.6 MB, free: 14.41 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.000816/0.0008164, allocations: 93.3 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4011/0.4011, allocations: 78.03 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.164e-05, allocations: 4 kB / 491.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2542, allocations: 69.35 MB / 0.548 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.3558, allocations: 99.01 MB / 0.6446 GB, free: 1.434 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.356, allocations: 83.95 kB / 0.6447 GB, free: 1.352 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3793/0.7353, allocations: 61.63 MB / 0.7049 GB, free: 100.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.7353, allocations: 3.625 kB / 0.7049 GB, free: 100.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.886e-05/0.7355, allocations: 46 kB / 0.705 GB, free: 100.4 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.009339/0.7448, allocations: 3.772 MB / 0.7086 GB, free: 98.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.7448, allocations: 12.56 kB / 0.7087 GB, free: 98.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00847/0.7533, allocations: 1.581 MB / 0.7102 GB, free: 97.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.7553, allocations: 1.474 MB / 0.7116 GB, free: 96.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/0.7557, allocations: 0.6812 MB / 0.7123 GB, free: 95.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.7561, allocations: 203.3 kB / 0.7125 GB, free: 95.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/0.7595, allocations: 2.426 MB / 0.7149 GB, free: 93.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.7596, allocations: 3.953 kB / 0.7149 GB, free: 93.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.7598, allocations: 76 kB / 0.7149 GB, free: 93.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.7598, allocations: 44 kB / 0.715 GB, free: 93.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.7629, allocations: 2.183 MB / 0.7171 GB, free: 90.91 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.01323/0.7762, allocations: 9.665 MB / 0.7266 GB, free: 80.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008311/0.7845, allocations: 4.049 MB / 0.7305 GB, free: 76.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/0.7863, allocations: 1.448 MB / 0.7319 GB, free: 75.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.7865, allocations: 47.12 kB / 0.732 GB, free: 75.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.7866, allocations: 56.55 kB / 0.732 GB, free: 75.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 3.847e-06/0.7866, allocations: 0 / 0.732 GB, free: 75.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=229): time 0.03348/0.8201, allocations: 12.09 MB / 0.7438 GB, free: 63.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.8201, allocations: 124.8 kB / 0.7439 GB, free: 62.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.8219, allocations: 1.66 MB / 0.7456 GB, free: 61.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.8222, allocations: 65.7 kB / 0.7456 GB, free: 61.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/0.8227, allocations: 1.135 MB / 0.7467 GB, free: 60.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005262/0.8232, allocations: 0.7877 MB / 0.7475 GB, free: 59.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.8234, allocations: 52 kB / 0.7476 GB, free: 59.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.8235, allocations: 378.3 kB / 0.7479 GB, free: 58.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.8252, allocations: 1.16 MB / 0.749 GB, free: 57.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.827, allocations: 1.463 MB / 0.7505 GB, free: 56.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.8289, allocations: 1.285 MB / 0.7517 GB, free: 54.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.8289, allocations: 0 / 0.7517 GB, free: 54.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03281/0.8617, allocations: 12.24 MB / 0.7637 GB, free: 42.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003501/0.8621, allocations: 2.739 MB / 0.7664 GB, free: 39.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.8621, allocations: 11.94 kB / 0.7664 GB, free: 39.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01492/0.877, allocations: 5.215 MB / 0.7715 GB, free: 34.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.8788, allocations: 343.4 kB / 0.7718 GB, free: 34.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03437/0.9131, allocations: 17.88 MB / 0.7893 GB, free: 16.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/0.9163, allocations: 489.7 kB / 0.7897 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/0.9166, allocations: 75.98 kB / 0.7898 GB, free: 15.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.9166, allocations: 8 kB / 0.7898 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03202/0.9486, allocations: 11.97 MB / 0.8015 GB, free: 3.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.9486, allocations: 15.95 kB / 0.8015 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01479/0.9634, allocations: 5.21 MB / 0.8066 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.9651, allocations: 323.5 kB / 0.8069 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03884/1.004, allocations: 17.88 MB / 0.8244 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/1.007, allocations: 466 kB / 0.8248 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/1.008, allocations: 79.97 kB / 0.8249 GB, free: 11.41 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.0006119/1.008, allocations: 222.2 kB / 0.8251 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006078/1.009, allocations: 284.5 kB / 0.8254 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.037/1.046, allocations: 12.41 MB / 0.8375 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/1.046, allocations: 27.95 kB / 0.8375 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/1.046, allocations: 20 kB / 0.8375 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.712e-05/1.046, allocations: 11.95 kB / 0.8375 GB, free: 14.4 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.04168/1.088, allocations: 15.93 MB / 0.8531 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.088, allocations: 0 / 0.8531 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/1.089, allocations: 251.6 kB / 0.8533 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01482/1.104, allocations: 4.81 MB / 0.858 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002986/1.104, allocations: 43.98 kB / 0.8581 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03364/1.138, allocations: 15.36 MB / 0.8731 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.138, allocations: 3.938 kB / 0.8731 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03909/1.177, allocations: 14.32 MB / 0.8871 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007798/1.178, allocations: 389.1 kB / 0.8874 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004905/1.178, allocations: 40 kB / 0.8875 GB, free: 10.92 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.181, allocations: 367.7 kB / 0.8878 GB, free: 10.56 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001691/1.183, allocations: 0.5408 MB / 0.8884 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/1.183, allocations: 59.98 kB / 0.8884 GB, free: 9.961 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001805/1.185, allocations: 1.27 MB / 0.8897 GB, free: 8.676 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.4e-07/1.185, allocations: 0 / 0.8897 GB, free: 8.676 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003968/1.189, allocations: 1.704 MB / 0.8913 GB, free: 6.969 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.000409/1.189, allocations: 181.8 kB / 0.8915 GB, free: 6.781 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2612/1.45, allocations: 9.41 MB / 0.9007 GB, free: 178.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/1.451, allocations: 3.688 kB / 0.9007 GB, free: 178.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01169/1.462, allocations: 3.889 MB / 0.9045 GB, free: 178.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/1.464, allocations: 194.2 kB / 0.9047 GB, free: 178.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0067/1.47, allocations: 4.065 MB / 0.9086 GB, free: 177.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008934/1.471, allocations: 1.798 MB / 0.9104 GB, free: 176.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001494/1.473, allocations: 356.4 kB / 0.9107 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/1.473, allocations: 106.3 kB / 0.9108 GB, free: 176.7 MB / 0.573 GB Notification: Performance of SimCode: time 6.72e-07/1.473, allocations: 0 / 0.9108 GB, free: 176.7 MB / 0.573 GB Notification: Performance of Templates: time 0.08177/1.555, allocations: 75.32 MB / 0.9844 GB, free: 124.5 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)