Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001389/0.00139, 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.376/1.376, allocations: 221.4 MB / 234.6 MB, free: 14.47 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.0009335/0.0009334, allocations: 88.66 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4861/0.4861, allocations: 78.9 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.454e-05/3.457e-05, allocations: 4 kB / 492.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3237, allocations: 69.51 MB / 0.5491 GB, free: 19.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4445, allocations: 100.8 MB / 0.6476 GB, free: 14.82 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.4447, allocations: 79.95 kB / 0.6476 GB, free: 14.74 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4764/0.9212, allocations: 68.29 MB / 0.7143 GB, free: 94.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.9212, allocations: 0 / 0.7143 GB, free: 94.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001593/0.9214, allocations: 59.94 kB / 0.7144 GB, free: 94.16 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01143/0.9328, allocations: 4.028 MB / 0.7183 GB, free: 90.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.9329, allocations: 15.97 kB / 0.7183 GB, free: 90.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009837/0.9427, allocations: 1.6 MB / 0.7199 GB, free: 88.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005202/0.9479, allocations: 1.651 MB / 0.7215 GB, free: 86.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006174/0.9486, allocations: 0.6944 MB / 0.7222 GB, free: 85.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.9496, allocations: 207.9 kB / 0.7224 GB, free: 85.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004999/0.9546, allocations: 2.58 MB / 0.7249 GB, free: 83.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/0.9547, allocations: 0 / 0.7249 GB, free: 83.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.955, allocations: 80 kB / 0.725 GB, free: 82.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/0.955, allocations: 48 kB / 0.725 GB, free: 82.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004058/0.9591, allocations: 2.332 MB / 0.7273 GB, free: 80.58 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.01781/0.9769, allocations: 10.08 MB / 0.7372 GB, free: 70.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008381/0.9853, allocations: 4.029 MB / 0.7411 GB, free: 65.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/0.988, allocations: 1.538 MB / 0.7426 GB, free: 64.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.9883, allocations: 50.02 kB / 0.7426 GB, free: 64.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.9883, allocations: 60.5 kB / 0.7427 GB, free: 64.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.649e-06/0.9884, allocations: 0 / 0.7427 GB, free: 64.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03448/1.023, allocations: 12.3 MB / 0.7547 GB, free: 51.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/1.023, allocations: 239.6 kB / 0.7549 GB, free: 51.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/1.026, allocations: 1.866 MB / 0.7568 GB, free: 49.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006052/1.026, allocations: 65.7 kB / 0.7568 GB, free: 49.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006093/1.027, allocations: 1.219 MB / 0.758 GB, free: 48.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009053/1.028, allocations: 0.8431 MB / 0.7588 GB, free: 47.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/1.028, allocations: 44 kB / 0.7589 GB, free: 47.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/1.028, allocations: 394.6 kB / 0.7593 GB, free: 47.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/1.03, allocations: 1.227 MB / 0.7605 GB, free: 45.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/1.032, allocations: 1.551 MB / 0.762 GB, free: 44.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/1.034, allocations: 1.465 MB / 0.7634 GB, free: 42.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.034, allocations: 4 kB / 0.7634 GB, free: 42.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03192/1.066, allocations: 11.65 MB / 0.7748 GB, free: 30.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004976/1.067, allocations: 2.875 MB / 0.7776 GB, free: 27.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.067, allocations: 8 kB / 0.7776 GB, free: 27.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01429/1.081, allocations: 4.792 MB / 0.7823 GB, free: 23.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003757/1.085, allocations: 0.6945 MB / 0.783 GB, free: 22.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03543/1.12, allocations: 16.64 MB / 0.7992 GB, free: 5.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004369/1.125, allocations: 0.525 MB / 0.7997 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006315/1.125, allocations: 87.97 kB / 0.7998 GB, free: 4.961 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.125, allocations: 7.938 kB / 0.7998 GB, free: 4.953 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03341/1.159, allocations: 11.36 MB / 0.8109 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/1.159, allocations: 8 kB / 0.8109 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01592/1.175, allocations: 4.792 MB / 0.8156 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/1.178, allocations: 0.6827 MB / 0.8163 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04036/1.219, allocations: 16.64 MB / 0.8325 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/1.223, allocations: 0.498 MB / 0.833 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004663/1.224, allocations: 87.97 kB / 0.8331 GB, free: 2.625 MB / 0.5105 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.000765/1.225, allocations: 293.4 kB / 0.8334 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000872/1.225, allocations: 300.2 kB / 0.8337 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03739/1.263, allocations: 12.64 MB / 0.846 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/1.263, allocations: 24 kB / 0.846 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.381e-05/1.263, allocations: 20 kB / 0.846 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.979e-05/1.263, allocations: 11.95 kB / 0.8461 GB, free: 5.277 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.04494/1.308, allocations: 16.41 MB / 0.8621 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/1.308, allocations: 0 / 0.8621 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.311, allocations: 283.6 kB / 0.8623 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02065/1.331, allocations: 4.79 MB / 0.867 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007683/1.332, allocations: 55.98 kB / 0.8671 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03493/1.367, allocations: 15.39 MB / 0.8821 GB, free: 52 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.367, allocations: 4 kB / 0.8821 GB, free: 48 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04207/1.409, allocations: 14.59 MB / 0.8964 GB, free: 1.375 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.41, allocations: 416.8 kB / 0.8968 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006886/1.411, allocations: 51.98 kB / 0.8968 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003207/1.414, allocations: 395.7 kB / 0.8972 GB, free: 0.5078 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3126/1.727, allocations: 0.5498 MB / 0.8977 GB, free: 169.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006928/1.728, allocations: 63.69 kB / 0.8978 GB, free: 169.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002591/1.73, allocations: 1.431 MB / 0.8992 GB, free: 169.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.01e-07/1.73, allocations: 0 / 0.8992 GB, free: 169.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005718/1.736, allocations: 1.739 MB / 0.9009 GB, free: 169.5 MB / 0.573 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.0004253/1.736, allocations: 190.9 kB / 0.9011 GB, free: 169.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02495/1.761, allocations: 10 MB / 0.9108 GB, free: 168.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.761, allocations: 0 / 0.9108 GB, free: 168.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01077/1.772, allocations: 4.044 MB / 0.9148 GB, free: 167.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/1.774, allocations: 237.1 kB / 0.915 GB, free: 167.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007603/1.782, allocations: 4.277 MB / 0.9192 GB, free: 166.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/1.783, allocations: 1.897 MB / 0.921 GB, free: 165.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002115/1.785, allocations: 460.5 kB / 0.9215 GB, free: 165.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/1.786, allocations: 118.3 kB / 0.9216 GB, free: 165.7 MB / 0.573 GB Notification: Performance of SimCode: time 9.62e-07/1.786, allocations: 0 / 0.9216 GB, free: 165.7 MB / 0.573 GB Notification: Performance of Templates: time 0.09336/1.879, allocations: 74.64 MB / 0.9945 GB, free: 114.2 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)