Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005711/0.005711, allocations: 170.6 kB / 15.11 MB, free: 5.992 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.162/1.162, allocations: 223.2 MB / 239 MB, free: 28 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.0008845/0.0008849, allocations: 96.02 kB / 290.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4298/0.4298, allocations: 79.44 MB / 420.8 MB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 16 kB / 0.489 GB, free: 6.348 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1205, allocations: 69.51 MB / 0.5569 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3338/0.4543, allocations: 99.43 MB / 0.654 GB, free: 1.797 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.4545, allocations: 82.53 kB / 0.6541 GB, free: 1.719 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07608/0.5306, allocations: 31.15 MB / 0.6845 GB, free: 2.605 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5307, allocations: 0 / 0.6845 GB, free: 2.605 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001104/0.5308, allocations: 24 kB / 0.6845 GB, free: 2.582 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005432/0.5362, allocations: 2.046 MB / 0.6865 GB, free: 488 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5363, allocations: 12.03 kB / 0.6865 GB, free: 476 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/0.5396, allocations: 0.5603 MB / 0.6871 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.5413, allocations: 0.8309 MB / 0.6879 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.5416, allocations: 234.4 kB / 0.6881 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.5418, allocations: 76 kB / 0.6882 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.544, allocations: 1.161 MB / 0.6893 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.544, allocations: 0 / 0.6893 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.529e-05/0.5441, allocations: 32 kB / 0.6894 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.5442, allocations: 22 kB / 0.6894 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.5462, allocations: 1.074 MB / 0.6904 GB, free: 12.38 MB / 490.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.006643/0.5528, allocations: 3.92 MB / 0.6943 GB, free: 8.266 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007366/0.5602, allocations: 2.882 MB / 0.6971 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.5603, allocations: 24.91 kB / 0.6971 GB, free: 5.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.5604, allocations: 43.56 kB / 0.6971 GB, free: 5.219 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 3.246e-06/0.5604, allocations: 0 / 0.6971 GB, free: 5.219 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.02732/0.5877, allocations: 8.327 MB / 0.7053 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.5878, allocations: 137.5 kB / 0.7054 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.5896, allocations: 0.9491 MB / 0.7063 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.5898, allocations: 48.97 kB / 0.7064 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.5901, allocations: 0.513 MB / 0.7069 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.5905, allocations: 335.1 kB / 0.7072 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.5906, allocations: 20 kB / 0.7072 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5907, allocations: 341.9 kB / 0.7075 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.592, allocations: 0.6501 MB / 0.7082 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.5934, allocations: 0.7846 MB / 0.7089 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.5948, allocations: 0.7512 MB / 0.7097 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.5948, allocations: 4 kB / 0.7097 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01236/0.6071, allocations: 4.628 MB / 0.7142 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003935/0.6076, allocations: 1.208 MB / 0.7154 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.6076, allocations: 0 / 0.7154 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005492/0.6131, allocations: 1.831 MB / 0.7172 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.6142, allocations: 183.8 kB / 0.7173 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/0.6329, allocations: 9.109 MB / 0.7262 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.6345, allocations: 195.2 kB / 0.7264 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.6347, allocations: 32 kB / 0.7265 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.6347, allocations: 7.984 kB / 0.7265 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01242/0.6472, allocations: 4.457 MB / 0.7308 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/0.6473, allocations: 4 kB / 0.7308 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005529/0.6528, allocations: 1.828 MB / 0.7326 GB, free: 484 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.6539, allocations: 179.8 kB / 0.7328 GB, free: 304 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/0.6726, allocations: 9.1 MB / 0.7417 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.6742, allocations: 191.2 kB / 0.7418 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.6744, allocations: 35.98 kB / 0.7419 GB, free: 6.844 MB / 0.5261 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (91): * Single equations (assignments): 88 * 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: 0 * Non-linear torn systems: 1 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008013/0.6753, allocations: 358.4 kB / 0.7422 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.6757, allocations: 130.4 kB / 0.7424 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.6881, allocations: 4.642 MB / 0.7469 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.6882, allocations: 8 kB / 0.7469 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.6882, allocations: 8 kB / 0.7469 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/0.6882, allocations: 3.984 kB / 0.7469 GB, free: 1.66 MB / 0.5261 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.01515/0.7034, allocations: 6.28 MB / 0.753 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.7035, allocations: 3.953 kB / 0.753 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.7043, allocations: 119.8 kB / 0.7532 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005442/0.7097, allocations: 1.789 MB / 0.7549 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003063/0.7101, allocations: 26.14 kB / 0.7549 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/0.728, allocations: 8.011 MB / 0.7627 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.728, allocations: 0 / 0.7627 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/0.742, allocations: 5.571 MB / 0.7682 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/0.7426, allocations: 231.2 kB / 0.7684 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/0.7429, allocations: 20 kB / 0.7684 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.7443, allocations: 135.9 kB / 0.7686 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005518/0.7448, allocations: 184.6 kB / 0.7687 GB, free: 11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.745, allocations: 35.98 kB / 0.7688 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001291/0.7463, allocations: 0.7395 MB / 0.7695 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7463, allocations: 0 / 0.7695 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002224/0.7485, allocations: 0.6788 MB / 0.7702 GB, free: 9.543 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * 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 (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003257/0.7488, allocations: 156 kB / 0.7703 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00956/0.7584, allocations: 4.194 MB / 0.7744 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.7585, allocations: 0 / 0.7744 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004095/0.7626, allocations: 1.691 MB / 0.776 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009627/0.7635, allocations: 117.4 kB / 0.7762 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.7681, allocations: 2.787 MB / 0.7789 GB, free: 496 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/0.7688, allocations: 1.162 MB / 0.78 GB, free: 15.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006185/0.7695, allocations: 123.9 kB / 0.7801 GB, free: 15.17 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.7698, allocations: 67.42 kB / 0.7802 GB, free: 15.11 MB / 0.573 GB Notification: Performance of SimCode: time 5.41e-07/0.7698, allocations: 0 / 0.7802 GB, free: 15.11 MB / 0.573 GB Notification: Performance of Templates: time 0.2434/1.013, allocations: 26.11 MB / 0.8057 GB, free: 149.5 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)