Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004398/0.004398, allocations: 169.5 kB / 15.11 MB, free: 5.984 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.173/1.173, allocations: 223.2 MB / 239 MB, free: 64 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.0008223/0.0008222, allocations: 97.89 kB / 290.2 MB, free: 4.594 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.423/0.423, allocations: 79.43 MB / 420.8 MB, free: 36.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 8 kB / 0.489 GB, free: 6.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 69.52 MB / 0.5569 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3292/0.4564, allocations: 99.15 MB / 0.6537 GB, free: 2.102 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.4566, allocations: 83.95 kB / 0.6538 GB, free: 2.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08724/0.5439, allocations: 35.81 MB / 0.6888 GB, free: 14.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5439, allocations: 0 / 0.6888 GB, free: 14.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.626e-05/0.544, allocations: 27.94 kB / 0.6888 GB, free: 14.18 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004443/0.5484, allocations: 1.982 MB / 0.6908 GB, free: 12.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5485, allocations: 8.031 kB / 0.6908 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/0.5517, allocations: 0.5619 MB / 0.6913 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.5531, allocations: 0.8149 MB / 0.6921 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.5534, allocations: 242.4 kB / 0.6923 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.5535, allocations: 72 kB / 0.6924 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.5555, allocations: 1.138 MB / 0.6935 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.5556, allocations: 8 kB / 0.6935 GB, free: 9.199 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.5557, allocations: 28 kB / 0.6936 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.5557, allocations: 20 kB / 0.6936 GB, free: 9.152 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.5576, allocations: 1.066 MB / 0.6946 GB, free: 8.082 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.006094/0.5637, allocations: 3.874 MB / 0.6984 GB, free: 4.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007246/0.571, allocations: 2.874 MB / 0.7012 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.184e-05/0.5711, allocations: 20.98 kB / 0.7012 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.5711, allocations: 43.56 kB / 0.7013 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 1.974e-06/0.5711, allocations: 0 / 0.7013 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.02557/0.5967, allocations: 8.011 MB / 0.7091 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.5968, allocations: 145.4 kB / 0.7092 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.598, allocations: 0.9051 MB / 0.7101 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/0.598, allocations: 41.7 kB / 0.7102 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.5984, allocations: 0.5067 MB / 0.7106 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.5986, allocations: 331.1 kB / 0.711 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.5987, allocations: 20 kB / 0.711 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5988, allocations: 341.9 kB / 0.7113 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.6, allocations: 0.6383 MB / 0.7119 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.6014, allocations: 0.776 MB / 0.7127 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.6026, allocations: 0.7433 MB / 0.7134 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6027, allocations: 4 kB / 0.7134 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01263/0.6153, allocations: 4.66 MB / 0.718 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004391/0.6157, allocations: 1.202 MB / 0.7191 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.6158, allocations: 8 kB / 0.7192 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005675/0.6214, allocations: 1.859 MB / 0.721 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.6222, allocations: 171.8 kB / 0.7211 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.6409, allocations: 9.175 MB / 0.7301 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.6423, allocations: 199 kB / 0.7303 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/0.6424, allocations: 31.98 kB / 0.7303 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/0.6424, allocations: 4 kB / 0.7303 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01228/0.6547, allocations: 4.508 MB / 0.7347 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6547, allocations: 2.344 kB / 0.7347 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005462/0.6601, allocations: 1.868 MB / 0.7365 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.6608, allocations: 159.8 kB / 0.7367 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01826/0.6791, allocations: 9.181 MB / 0.7457 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.6804, allocations: 187.1 kB / 0.7458 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.6805, allocations: 35.98 kB / 0.7459 GB, free: 2.715 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (87): * Single equations (assignments): 84 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.00058/0.6811, allocations: 360.5 kB / 0.7462 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.6813, allocations: 130.4 kB / 0.7463 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.6935, allocations: 4.603 MB / 0.7508 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6935, allocations: 12 kB / 0.7508 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.6935, allocations: 8 kB / 0.7509 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.6935, allocations: 3.984 kB / 0.7509 GB, free: 13.57 MB / 0.5417 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.01363/0.7072, allocations: 6.23 MB / 0.7569 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.7072, allocations: 3.984 kB / 0.7569 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.7078, allocations: 111.8 kB / 0.7571 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004999/0.7128, allocations: 1.782 MB / 0.7588 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.051e-05/0.7129, allocations: 23.98 kB / 0.7588 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/0.7286, allocations: 8.016 MB / 0.7666 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7286, allocations: 0 / 0.7666 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/0.742, allocations: 5.536 MB / 0.7721 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.7424, allocations: 219.3 kB / 0.7723 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.7425, allocations: 21.69 kB / 0.7723 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.7436, allocations: 139.9 kB / 0.7724 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004154/0.744, allocations: 188.7 kB / 0.7726 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.7441, allocations: 20 kB / 0.7726 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009908/0.7451, allocations: 0.7194 MB / 0.7733 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7451, allocations: 4 kB / 0.7733 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001612/0.7468, allocations: 0.667 MB / 0.774 GB, free: 5.586 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.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 (67): * Single equations (assignments): 65 * 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 {(18,25.9%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002483/0.747, allocations: 140.2 kB / 0.7741 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009724/0.7567, allocations: 4.233 MB / 0.7782 GB, free: 1.145 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7568, allocations: 3.938 kB / 0.7782 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003817/0.7606, allocations: 1.654 MB / 0.7799 GB, free: 15.46 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/0.7614, allocations: 108.4 kB / 0.78 GB, free: 15.36 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.7647, allocations: 2.686 MB / 0.7826 GB, free: 12.65 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.7653, allocations: 1.155 MB / 0.7837 GB, free: 11.46 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004432/0.7658, allocations: 118.6 kB / 0.7838 GB, free: 11.34 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.766, allocations: 63.42 kB / 0.7839 GB, free: 11.28 MB / 0.573 GB Notification: Performance of SimCode: time 6.02e-07/0.766, allocations: 3.938 kB / 0.7839 GB, free: 11.28 MB / 0.573 GB Notification: Performance of Templates: time 0.2276/0.9936, allocations: 25.69 MB / 0.809 GB, free: 150.9 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)