Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001604/0.001604, allocations: 174.6 kB / 15.77 MB, free: 6.324 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.421/1.421, allocations: 223.2 MB / 239.8 MB, free: 4 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007157/0.0007155, allocations: 95.73 kB / 290.9 MB, free: 4.586 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4534/0.4534, allocations: 78.62 MB / 420.7 MB, free: 36.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 12 kB / 0.4888 GB, free: 7.254 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 69.36 MB / 0.5565 GB, free: 1.824 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII): time 0.01106/0.1465, allocations: 12.23 MB / 0.5685 GB, free: 5.543 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00688/0.1534, allocations: 3.27 MB / 0.5717 GB, free: 2.266 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.156, allocations: 28 kB / 0.5717 GB, free: 2.238 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.1572, allocations: 349.2 kB / 0.572 GB, free: 1.895 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.1609, allocations: 1.134 MB / 0.5731 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2294/0.3903, allocations: 1.26 MB / 0.5744 GB, free: 32.19 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005557/0.3958, allocations: 3.019 MB / 0.5773 GB, free: 32.19 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.3969, allocations: 0.6143 MB / 0.5779 GB, free: 32.07 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.3991, allocations: 1.186 MB / 0.5791 GB, free: 31.93 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.401, allocations: 1.618 MB / 0.5806 GB, free: 31.58 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003248/0.4014, allocations: 134.7 kB / 0.5808 GB, free: 31.58 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000789/0.4021, allocations: 268 kB / 0.581 GB, free: 31.58 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003941/0.4026, allocations: 0.5397 MB / 0.5816 GB, free: 31.45 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005974/0.4032, allocations: 0.4905 MB / 0.582 GB, free: 31.31 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.4057, allocations: 2.693 MB / 0.5847 GB, free: 31.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4057, allocations: 5.422 kB / 0.5847 GB, free: 31.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4057, allocations: 0 / 0.5847 GB, free: 31.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.73e-05/0.4058, allocations: 1.969 kB / 0.5847 GB, free: 31.02 MB / 442.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.02135/0.4272, allocations: 5.789 MB / 0.5903 GB, free: 29.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4272, allocations: 8.969 kB / 0.5903 GB, free: 29.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01543/0.4427, allocations: 2.266 MB / 0.5926 GB, free: 29.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.4465, allocations: 1.578 MB / 0.5941 GB, free: 28.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005905/0.4471, allocations: 0.6936 MB / 0.5948 GB, free: 28.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005374/0.4477, allocations: 199.3 kB / 0.595 GB, free: 28.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006054/0.4538, allocations: 3.102 MB / 0.598 GB, free: 28.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.4538, allocations: 0 / 0.598 GB, free: 28.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/0.4541, allocations: 76.73 kB / 0.5981 GB, free: 28.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.4541, allocations: 52.36 kB / 0.5981 GB, free: 28.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005501/0.4596, allocations: 2.875 MB / 0.6009 GB, free: 28.06 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01855/0.4782, allocations: 9.864 MB / 0.6106 GB, free: 25.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02005/0.4983, allocations: 4.802 MB / 0.6152 GB, free: 24.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007973/0.5063, allocations: 2.085 MB / 0.6173 GB, free: 23.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005177/0.5069, allocations: 41.91 kB / 0.6173 GB, free: 23.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.505e-05/0.507, allocations: 58.06 kB / 0.6174 GB, free: 23.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 8.486e-06/0.507, allocations: 0 / 0.6174 GB, free: 23.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=229): time 0.1584/0.6654, allocations: 31.29 MB / 0.6479 GB, free: 5.938 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.6656, allocations: 130.4 kB / 0.6481 GB, free: 5.785 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/0.6688, allocations: 1.997 MB / 0.65 GB, free: 3.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000905/0.6697, allocations: 65.7 kB / 0.6501 GB, free: 3.699 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000806/0.6706, allocations: 1.094 MB / 0.6511 GB, free: 2.602 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001397/0.672, allocations: 0.8128 MB / 0.6519 GB, free: 1.793 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000757/0.6727, allocations: 56 kB / 0.652 GB, free: 1.738 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.673, allocations: 416.2 kB / 0.6524 GB, free: 1.324 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0051/0.6781, allocations: 2.078 MB / 0.6544 GB, free: 15.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005534/0.6837, allocations: 2.445 MB / 0.6568 GB, free: 12.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00566/0.6893, allocations: 2.239 MB / 0.659 GB, free: 10.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.6894, allocations: 0 / 0.659 GB, free: 10.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=381) (initialization): time 0.0489/0.7383, allocations: 14.86 MB / 0.6735 GB, free: 11.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.7385, allocations: 299.7 kB / 0.6738 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.7386, allocations: 8 kB / 0.6738 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02155/0.7601, allocations: 6.428 MB / 0.6801 GB, free: 4.738 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/0.7632, allocations: 0.5031 MB / 0.6806 GB, free: 4.234 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06501/0.8283, allocations: 25.14 MB / 0.7051 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004916/0.8332, allocations: 0.5325 MB / 0.7056 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006146/0.8339, allocations: 108.8 kB / 0.7057 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.8339, allocations: 4 kB / 0.7057 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04548/0.8794, allocations: 14.53 MB / 0.7199 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.601e-05/0.8795, allocations: 7.953 kB / 0.7199 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02182/0.9013, allocations: 6.431 MB / 0.7262 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/0.9045, allocations: 496.2 kB / 0.7267 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06422/0.9687, allocations: 25.14 MB / 0.7512 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004669/0.9734, allocations: 0.4899 MB / 0.7517 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005796/0.974, allocations: 104 kB / 0.7518 GB, free: 10.98 MB / 0.5417 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 290 * 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.001463/0.9755, allocations: 0.5102 MB / 0.7523 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006392/0.9761, allocations: 272.6 kB / 0.7526 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0448/1.021, allocations: 14.29 MB / 0.7665 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/1.021, allocations: 22.62 kB / 0.7665 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-05/1.021, allocations: 22.25 kB / 0.7666 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-05/1.021, allocations: 11.95 kB / 0.7666 GB, free: 11.82 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05137/1.073, allocations: 17.84 MB / 0.784 GB, free: 9.871 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/1.073, allocations: 1.875 kB / 0.784 GB, free: 9.871 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/1.074, allocations: 255.8 kB / 0.7842 GB, free: 9.621 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01997/1.094, allocations: 6.068 MB / 0.7902 GB, free: 3.543 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006037/1.095, allocations: 44 kB / 0.7902 GB, free: 3.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3019/1.397, allocations: 21.39 MB / 0.8111 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.397, allocations: 2.625 kB / 0.8111 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04626/1.443, allocations: 16.77 MB / 0.8275 GB, free: 168.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.444, allocations: 382.9 kB / 0.8278 GB, free: 168.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008024/1.445, allocations: 40.97 kB / 0.8279 GB, free: 168.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003437/1.449, allocations: 366.2 kB / 0.8282 GB, free: 168.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001975/1.451, allocations: 0.5436 MB / 0.8288 GB, free: 168.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.451, allocations: 64.19 kB / 0.8288 GB, free: 168.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001946/1.453, allocations: 1.296 MB / 0.8301 GB, free: 167.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.723e-06/1.453, allocations: 0 / 0.8301 GB, free: 167.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006804/1.46, allocations: 1.855 MB / 0.8319 GB, free: 167.6 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 () * Number of clocked 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004311/1.46, allocations: 162.6 kB / 0.8321 GB, free: 167.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03616/1.496, allocations: 12.27 MB / 0.844 GB, free: 163.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.496, allocations: 2.938 kB / 0.844 GB, free: 163.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01369/1.51, allocations: 4.599 MB / 0.8485 GB, free: 162.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/1.513, allocations: 219.7 kB / 0.8487 GB, free: 162.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009163/1.522, allocations: 6.169 MB / 0.8548 GB, free: 158.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/1.524, allocations: 1.742 MB / 0.8565 GB, free: 157.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000842/1.524, allocations: 159.6 kB / 0.8566 GB, free: 157.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.062e-06/1.524, allocations: 0 / 0.8566 GB, free: 157.7 MB / 0.573 GB Notification: Performance of Templates: time 0.06245/1.587, allocations: 52.08 MB / 0.9075 GB, free: 109.2 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)