Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005692/0.005692, allocations: 171.9 kB / 15.12 MB, free: 5.969 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.34/1.34, allocations: 223.2 MB / 239 MB, free: 56 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.0009079/0.0009082, allocations: 99.2 kB / 290.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4663/0.4663, allocations: 78.58 MB / 419.9 MB, free: 36.44 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 12 kB / 499.8 MB, free: 7.281 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 69.36 MB / 0.5558 GB, free: 1.852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/0.4912, allocations: 98.86 MB / 0.6523 GB, free: 3.309 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.4915, allocations: 77.09 kB / 0.6524 GB, free: 3.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09449/0.586, allocations: 36.52 MB / 0.6881 GB, free: 15.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.586, allocations: 0 / 0.6881 GB, free: 15.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.804e-05/0.5861, allocations: 27.84 kB / 0.6881 GB, free: 15.3 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004736/0.5908, allocations: 1.998 MB / 0.6901 GB, free: 13.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.5909, allocations: 8.031 kB / 0.6901 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/0.5941, allocations: 0.568 MB / 0.6906 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.5956, allocations: 0.8228 MB / 0.6914 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.5958, allocations: 260.2 kB / 0.6917 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.596, allocations: 79.91 kB / 0.6917 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.5981, allocations: 1.133 MB / 0.6929 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5981, allocations: 0 / 0.6929 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/0.5982, allocations: 36 kB / 0.6929 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.5983, allocations: 16 kB / 0.6929 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.6003, allocations: 1.05 MB / 0.6939 GB, free: 9.168 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.006256/0.6065, allocations: 3.797 MB / 0.6976 GB, free: 5.195 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00777/0.6143, allocations: 2.896 MB / 0.7005 GB, free: 2.207 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.79e-05/0.6144, allocations: 16.97 kB / 0.7005 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/0.616, allocations: 0.8763 MB / 0.7013 GB, free: 1.297 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.445e-06/0.6161, allocations: 0 / 0.7013 GB, free: 1.297 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.03054/0.6466, allocations: 8.7 MB / 0.7098 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.6467, allocations: 115.8 kB / 0.7099 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.6483, allocations: 0.9171 MB / 0.7108 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.6485, allocations: 45.73 kB / 0.7109 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/0.6489, allocations: 0.5051 MB / 0.7114 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.6492, allocations: 339.1 kB / 0.7117 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.6493, allocations: 16 kB / 0.7117 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6494, allocations: 349.9 kB / 0.712 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.6508, allocations: 0.6483 MB / 0.7127 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.6522, allocations: 0.7692 MB / 0.7134 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.6536, allocations: 0.7511 MB / 0.7142 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6536, allocations: 0 / 0.7142 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01367/0.6673, allocations: 4.68 MB / 0.7187 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.6674, allocations: 67.34 kB / 0.7188 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.6674, allocations: 4 kB / 0.7188 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006663/0.6741, allocations: 1.893 MB / 0.7207 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.6753, allocations: 183.8 kB / 0.7208 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/0.6962, allocations: 9.442 MB / 0.73 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.698, allocations: 209.4 kB / 0.7302 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.6981, allocations: 35.98 kB / 0.7303 GB, free: 3.297 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006218/0.6988, allocations: 282.2 kB / 0.7305 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.699, allocations: 126.5 kB / 0.7307 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/0.7127, allocations: 4.725 MB / 0.7353 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.7127, allocations: 15.94 kB / 0.7353 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.7127, allocations: 8.875 kB / 0.7353 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.7127, allocations: 3.984 kB / 0.7353 GB, free: 14.1 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.01586/0.7286, allocations: 6.269 MB / 0.7414 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.7287, allocations: 0 / 0.7414 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006467/0.7293, allocations: 103.8 kB / 0.7415 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005815/0.7351, allocations: 1.878 MB / 0.7434 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/0.7353, allocations: 27.98 kB / 0.7434 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/0.7562, allocations: 10.12 MB / 0.7533 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7563, allocations: 0 / 0.7533 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.7719, allocations: 5.661 MB / 0.7588 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005855/0.7725, allocations: 227.2 kB / 0.759 GB, free: 5.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.7727, allocations: 21.59 kB / 0.759 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.7739, allocations: 147.9 kB / 0.7592 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000648/0.7745, allocations: 192.7 kB / 0.7594 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-05/0.7746, allocations: 32 kB / 0.7594 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001205/0.7758, allocations: 0.7195 MB / 0.7601 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7758, allocations: 0 / 0.7601 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001424/0.7773, allocations: 435.5 kB / 0.7605 GB, free: 3.832 MB / 0.5417 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,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003325/0.7776, allocations: 156.5 kB / 0.7607 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005987/0.7836, allocations: 2.478 MB / 0.7631 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7836, allocations: 0 / 0.7631 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00432/0.788, allocations: 1.79 MB / 0.7648 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.7886, allocations: 101.3 kB / 0.7649 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.7925, allocations: 2.66 MB / 0.7675 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/0.7932, allocations: 1.151 MB / 0.7687 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004152/0.7937, allocations: 94.77 kB / 0.7687 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.7939, allocations: 67.42 kB / 0.7688 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of SimCode: time 3.176e-06/0.7939, allocations: 0 / 0.7688 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.03247/0.8264, allocations: 20.51 MB / 0.7888 GB, free: 6.75 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)