Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008876/0.0008877, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.229/1.229, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008159/0.0008159, allocations: 91.72 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4563/0.4563, allocations: 78.06 MB / 409.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.365e-05, allocations: 0 / 484.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1532, allocations: 69.37 MB / 0.5413 GB, free: 6.875 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3898/0.543, allocations: 97.93 MB / 0.6369 GB, free: 1.691 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.5433, allocations: 83.95 kB / 0.637 GB, free: 1.609 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1545/0.6978, allocations: 60.02 MB / 0.6956 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6978, allocations: 0 / 0.6956 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001747/0.698, allocations: 55.98 kB / 0.6957 GB, free: 5.418 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01179/0.7098, allocations: 3.73 MB / 0.6993 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.7099, allocations: 8.031 kB / 0.6993 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009644/0.7195, allocations: 1.573 MB / 0.7008 GB, free: 48 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.7231, allocations: 1.464 MB / 0.7023 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006961/0.7239, allocations: 0.6084 MB / 0.7029 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000579/0.7244, allocations: 119.9 kB / 0.703 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00422/0.7287, allocations: 2.077 MB / 0.705 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004226/0.7329, allocations: 2.142 MB / 0.7071 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.733, allocations: 0 / 0.7071 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/0.7332, allocations: 3.938 kB / 0.7071 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.7332, allocations: 55.95 kB / 0.7072 GB, free: 9.395 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 preOpt removeSimpleEquations (simulation): time 0.01769/0.7509, allocations: 9.279 MB / 0.7162 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009401/0.7604, allocations: 3.954 MB / 0.7201 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/0.7624, allocations: 1.37 MB / 0.7214 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.7627, allocations: 41.95 kB / 0.7215 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.7628, allocations: 68.5 kB / 0.7215 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 4.94e-06/0.7628, allocations: 0 / 0.7215 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=228): time 0.03717/0.7999, allocations: 11.9 MB / 0.7331 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.8001, allocations: 124.8 kB / 0.7333 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.8026, allocations: 1.488 MB / 0.7347 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005629/0.8032, allocations: 25.7 kB / 0.7347 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009007/0.8041, allocations: 1.12 MB / 0.7358 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.8051, allocations: 0.7542 MB / 0.7366 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.8053, allocations: 0 / 0.7366 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.8054, allocations: 386.2 kB / 0.7369 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.8073, allocations: 1.114 MB / 0.738 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.8095, allocations: 1.404 MB / 0.7394 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.8115, allocations: 1.223 MB / 0.7406 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.8115, allocations: 3.938 kB / 0.7406 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03709/0.8486, allocations: 12.01 MB / 0.7523 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001098/0.8498, allocations: 2.729 MB / 0.755 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.8498, allocations: 8 kB / 0.755 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01655/0.8663, allocations: 4.965 MB / 0.7599 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.8682, allocations: 327.5 kB / 0.7602 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3386/1.207, allocations: 17.54 MB / 0.7773 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/1.21, allocations: 447.8 kB / 0.7777 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/1.211, allocations: 78.8 kB / 0.7778 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/1.211, allocations: 4.844 kB / 0.7778 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03427/1.245, allocations: 11.7 MB / 0.7892 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.75e-05/1.245, allocations: 10.59 kB / 0.7892 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01705/1.262, allocations: 4.966 MB / 0.7941 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/1.264, allocations: 309.9 kB / 0.7944 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03954/1.303, allocations: 17.55 MB / 0.8115 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/1.307, allocations: 415.1 kB / 0.8119 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003259/1.308, allocations: 83.61 kB / 0.812 GB, free: 110.1 MB / 0.5573 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.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 (186): * Single equations (assignments): 185 * 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.0007268/1.308, allocations: 144.7 kB / 0.8121 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005533/1.309, allocations: 273.3 kB / 0.8124 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03391/1.343, allocations: 12.17 MB / 0.8243 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.459e-05/1.343, allocations: 28.47 kB / 0.8243 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.319e-05/1.343, allocations: 19.81 kB / 0.8243 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.385e-05/1.343, allocations: 10.88 kB / 0.8243 GB, free: 107.6 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.05737/1.4, allocations: 15.46 MB / 0.8394 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/1.4, allocations: 0 / 0.8394 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/1.403, allocations: 256.2 kB / 0.8397 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02009/1.423, allocations: 4.79 MB / 0.8444 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008873/1.424, allocations: 19.41 kB / 0.8444 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04656/1.47, allocations: 15.16 MB / 0.8592 GB, free: 94.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.47, allocations: 4 kB / 0.8592 GB, free: 94.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05363/1.524, allocations: 14.07 MB / 0.8729 GB, free: 83.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.525, allocations: 375.3 kB / 0.8733 GB, free: 82.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007459/1.526, allocations: 8 kB / 0.8733 GB, free: 82.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003836/1.53, allocations: 330.9 kB / 0.8736 GB, free: 82.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002728/1.533, allocations: 0.5466 MB / 0.8741 GB, free: 82.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003151/1.533, allocations: 63.23 kB / 0.8742 GB, free: 82.37 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002038/1.535, allocations: 1.101 MB / 0.8753 GB, free: 81.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/1.535, allocations: 0 / 0.8753 GB, free: 81.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005381/1.54, allocations: 1.535 MB / 0.8768 GB, free: 79.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (147): * Single equations (assignments): 146 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004153/1.541, allocations: 148.5 kB / 0.8769 GB, free: 79.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02345/1.564, allocations: 9.095 MB / 0.8858 GB, free: 71.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.564, allocations: 5.75 kB / 0.8858 GB, free: 71.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01057/1.575, allocations: 3.794 MB / 0.8895 GB, free: 68.31 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.576, allocations: 149.5 kB / 0.8896 GB, free: 68.17 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/1.583, allocations: 3.881 MB / 0.8934 GB, free: 64.66 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009154/1.583, allocations: 1.79 MB / 0.8952 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001519/1.585, allocations: 345.1 kB / 0.8955 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/1.585, allocations: 115 kB / 0.8956 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/1.585, allocations: 0 / 0.8956 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of Templates: time 0.08773/1.673, allocations: 69.23 MB / 0.9632 GB, free: 1.539 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)