Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.35/1.35, 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.000854/0.0008543, allocations: 99.47 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4809/0.4809, allocations: 78.95 MB / 410.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.325e-05/1.327e-05, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1296, allocations: 69.52 MB / 0.5424 GB, free: 5.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3526/0.4822, allocations: 98.03 MB / 0.6382 GB, free: 80 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4825, allocations: 80.75 kB / 0.6382 GB, free: 0 / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08093/0.5635, allocations: 29.81 MB / 0.6673 GB, free: 2.238 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5635, allocations: 0 / 0.6673 GB, free: 2.238 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.708e-05/0.5636, allocations: 28.88 kB / 0.6674 GB, free: 2.211 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00418/0.5678, allocations: 1.695 MB / 0.669 GB, free: 472 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.5678, allocations: 8.031 kB / 0.669 GB, free: 464 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.5712, allocations: 0.5629 MB / 0.6696 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.5725, allocations: 0.7684 MB / 0.6703 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.5728, allocations: 202.5 kB / 0.6705 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.5729, allocations: 51.98 kB / 0.6706 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00142/0.5743, allocations: 0.7967 MB / 0.6714 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.5758, allocations: 0.8259 MB / 0.6722 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5758, allocations: 4 kB / 0.6722 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-05/0.5759, allocations: 4.547 kB / 0.6722 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.5759, allocations: 16 kB / 0.6722 GB, free: 13.13 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.006312/0.5823, allocations: 3.704 MB / 0.6758 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007291/0.5896, allocations: 2.568 MB / 0.6783 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007787/0.5904, allocations: 0.5132 MB / 0.6788 GB, free: 6.059 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.5905, allocations: 12.77 kB / 0.6788 GB, free: 6.047 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.5906, allocations: 44 kB / 0.6789 GB, free: 5.996 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.056e-06/0.5906, allocations: 4 kB / 0.6789 GB, free: 5.992 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01228/0.6029, allocations: 3.797 MB / 0.6826 GB, free: 2.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.603, allocations: 137.3 kB / 0.6827 GB, free: 2.016 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.6042, allocations: 0.8223 MB / 0.6835 GB, free: 1.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.6044, allocations: 25.7 kB / 0.6835 GB, free: 1.148 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.6048, allocations: 0.5011 MB / 0.684 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.6051, allocations: 320.8 kB / 0.6843 GB, free: 332 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/0.6052, allocations: 0 / 0.6843 GB, free: 332 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6053, allocations: 345.9 kB / 0.6847 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006886/0.606, allocations: 418.6 kB / 0.6851 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007762/0.6068, allocations: 0.5466 MB / 0.6856 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007491/0.6075, allocations: 476.9 kB / 0.6861 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6075, allocations: 0 / 0.6861 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01248/0.62, allocations: 3.934 MB / 0.6899 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005174/0.6206, allocations: 1.202 MB / 0.6911 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.6206, allocations: 7.953 kB / 0.6911 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00642/0.627, allocations: 1.453 MB / 0.6925 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/0.628, allocations: 155.8 kB / 0.6926 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/0.641, allocations: 6.401 MB / 0.6989 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.6426, allocations: 171.3 kB / 0.6991 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/0.6427, allocations: 35.98 kB / 0.6991 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.6427, allocations: 5.562 kB / 0.6991 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01165/0.6544, allocations: 3.786 MB / 0.7028 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.6545, allocations: 5.203 kB / 0.7028 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005091/0.6595, allocations: 1.45 MB / 0.7042 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008504/0.6604, allocations: 155.8 kB / 0.7044 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/0.6732, allocations: 6.399 MB / 0.7106 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.6747, allocations: 159.4 kB / 0.7108 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.6748, allocations: 35.98 kB / 0.7108 GB, free: 4.809 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003375/0.6752, allocations: 151.6 kB / 0.7109 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.6755, allocations: 126.5 kB / 0.7111 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.6871, allocations: 3.89 MB / 0.7149 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.6871, allocations: 8 kB / 0.7149 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.6871, allocations: 11 kB / 0.7149 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.6872, allocations: 3.984 kB / 0.7149 GB, free: 0.5938 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 postOpt removeSimpleEquations (simulation): time 0.01369/0.7009, allocations: 5.417 MB / 0.7202 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.7009, allocations: 0 / 0.7202 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/0.7016, allocations: 111.9 kB / 0.7203 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004552/0.7061, allocations: 1.414 MB / 0.7217 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.7062, allocations: 3.938 kB / 0.7217 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/0.7174, allocations: 5.633 MB / 0.7272 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.7174, allocations: 4.172 kB / 0.7272 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/0.7301, allocations: 4.612 MB / 0.7317 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/0.7307, allocations: 219.3 kB / 0.7319 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/0.7311, allocations: 4 kB / 0.7319 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.7324, allocations: 123.9 kB / 0.732 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005348/0.733, allocations: 180.5 kB / 0.7322 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.784e-05/0.7331, allocations: 25.94 kB / 0.7322 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009741/0.7341, allocations: 0.6175 MB / 0.7328 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7341, allocations: 0 / 0.7328 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002359/0.7364, allocations: 0.6006 MB / 0.7334 GB, free: 13.37 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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.0003434/0.7368, allocations: 143.2 kB / 0.7335 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008885/0.7457, allocations: 3.439 MB / 0.7369 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7457, allocations: 0 / 0.7369 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003843/0.7496, allocations: 1.407 MB / 0.7383 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008534/0.7504, allocations: 96.31 kB / 0.7384 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.7539, allocations: 1.666 MB / 0.74 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/0.7547, allocations: 1.15 MB / 0.7411 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008702/0.7555, allocations: 189.7 kB / 0.7413 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.7557, allocations: 63.36 kB / 0.7413 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of SimCode: time 6.12e-07/0.7557, allocations: 4 kB / 0.7413 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of Templates: time 0.2879/1.044, allocations: 25.56 MB / 0.7663 GB, free: 147.1 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)