Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008483/0.008483, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 94.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07636/0.07636, allocations: 12.6 MB / 330.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4124/0.4124, allocations: 78.52 MB / 460 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005154, allocations: 19.25 kB / 0.5285 GB, free: 35.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1395, allocations: 69.34 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5755, allocations: 100.9 MB / 0.6947 GB, free: 98.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.5758, allocations: 81.86 kB / 0.6948 GB, free: 98.59 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08341/0.6592, allocations: 31.42 MB / 0.7255 GB, free: 85.28 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.868e-06/0.6593, allocations: 3.984 kB / 0.7255 GB, free: 85.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.594e-05/0.6594, allocations: 27.94 kB / 0.7255 GB, free: 85.25 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005335/0.6647, allocations: 2.049 MB / 0.7275 GB, free: 83.13 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.6648, allocations: 11.98 kB / 0.7275 GB, free: 83.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/0.6679, allocations: 0.568 MB / 0.7281 GB, free: 82.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.6695, allocations: 0.825 MB / 0.7289 GB, free: 81.67 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.6697, allocations: 272.2 kB / 0.7291 GB, free: 81.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.6699, allocations: 76 kB / 0.7292 GB, free: 81.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.6719, allocations: 1.149 MB / 0.7303 GB, free: 80.13 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.672, allocations: 3.938 kB / 0.7303 GB, free: 80.13 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.806e-05/0.6721, allocations: 28 kB / 0.7304 GB, free: 80.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.6721, allocations: 23.98 kB / 0.7304 GB, free: 80.08 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.6739, allocations: 1.054 MB / 0.7314 GB, free: 79.02 MB / 474.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.005972/0.6799, allocations: 3.852 MB / 0.7352 GB, free: 74.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007192/0.6871, allocations: 2.905 MB / 0.738 GB, free: 71.99 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.6872, allocations: 20.97 kB / 0.738 GB, free: 71.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.6888, allocations: 0.883 MB / 0.7389 GB, free: 71.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=97): time 3.606e-06/0.6888, allocations: 0 / 0.7389 GB, free: 71.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.02695/0.7157, allocations: 8.447 MB / 0.7471 GB, free: 62.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.7158, allocations: 115.8 kB / 0.7472 GB, free: 62.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.7174, allocations: 0.9533 MB / 0.7482 GB, free: 61.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.7176, allocations: 45.73 kB / 0.7482 GB, free: 61.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.7179, allocations: 0.5092 MB / 0.7487 GB, free: 60.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.7182, allocations: 354.8 kB / 0.7491 GB, free: 60.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.7183, allocations: 20 kB / 0.7491 GB, free: 60.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.7183, allocations: 341.9 kB / 0.7494 GB, free: 60.19 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.7195, allocations: 0.6504 MB / 0.75 GB, free: 59.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.7207, allocations: 0.7926 MB / 0.7508 GB, free: 58.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.7219, allocations: 0.7557 MB / 0.7515 GB, free: 57.94 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.7219, allocations: 7.938 kB / 0.7516 GB, free: 57.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.012/0.7339, allocations: 4.7 MB / 0.7561 GB, free: 53.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.042e-05/0.734, allocations: 55.41 kB / 0.7562 GB, free: 53.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.7341, allocations: 8 kB / 0.7562 GB, free: 53.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005877/0.74, allocations: 1.92 MB / 0.7581 GB, free: 51.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.7413, allocations: 203.7 kB / 0.7583 GB, free: 51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01893/0.7602, allocations: 9.412 MB / 0.7675 GB, free: 41.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.7622, allocations: 199.1 kB / 0.7677 GB, free: 41.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/0.7625, allocations: 39.98 kB / 0.7677 GB, free: 41.22 MB / 474.7 MB 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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" 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 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 (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.001022/0.7636, allocations: 299 kB / 0.768 GB, free: 40.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004454/0.764, allocations: 130.4 kB / 0.7681 GB, free: 40.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.7766, allocations: 4.744 MB / 0.7727 GB, free: 36.01 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.7767, allocations: 15.94 kB / 0.7727 GB, free: 36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.7767, allocations: 12 kB / 0.7728 GB, free: 35.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-05/0.7768, allocations: 3.984 kB / 0.7728 GB, free: 35.98 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.01535/0.7921, allocations: 6.328 MB / 0.7789 GB, free: 29.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.7922, allocations: 0 / 0.7789 GB, free: 29.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.793, allocations: 103.8 kB / 0.779 GB, free: 29.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005267/0.7983, allocations: 1.876 MB / 0.7809 GB, free: 27.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002529/0.7985, allocations: 27.98 kB / 0.7809 GB, free: 27.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/0.8168, allocations: 10.13 MB / 0.7908 GB, free: 17.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8169, allocations: 0 / 0.7908 GB, free: 17.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/0.8313, allocations: 5.701 MB / 0.7964 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000622/0.8319, allocations: 227.3 kB / 0.7966 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004755/0.8324, allocations: 20 kB / 0.7966 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.834, allocations: 143.9 kB / 0.7967 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006572/0.8347, allocations: 204.5 kB / 0.7969 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.8349, allocations: 24 kB / 0.797 GB, free: 10.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001349/0.8362, allocations: 0.7514 MB / 0.7977 GB, free: 9.992 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8362, allocations: 0 / 0.7977 GB, free: 9.992 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001921/0.8382, allocations: 447.5 kB / 0.7981 GB, free: 9.555 MB / 474.7 MB 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,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 (65): * Single equations (assignments): 62 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004047/0.8386, allocations: 156.9 kB / 0.7983 GB, free: 9.395 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005776/0.8444, allocations: 2.525 MB / 0.8007 GB, free: 6.836 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8444, allocations: 0 / 0.8007 GB, free: 6.836 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004085/0.8485, allocations: 1.809 MB / 0.8025 GB, free: 4.984 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.8495, allocations: 108.6 kB / 0.8026 GB, free: 4.875 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/0.8543, allocations: 2.784 MB / 0.8053 GB, free: 2.066 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/0.855, allocations: 1.155 MB / 0.8064 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004681/0.8555, allocations: 90.89 kB / 0.8065 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.8557, allocations: 67.42 kB / 0.8066 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of SimCode: time 1.173e-06/0.8557, allocations: 4 kB / 0.8066 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of Templates: time 0.03732/0.8931, allocations: 20.94 MB / 0.827 GB, free: 11.79 MB / 0.4949 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)