Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006092/0.006093, 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 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 223.2 MB / 239 MB, free: 1.793 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.0008267/0.0008268, allocations: 94.02 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.445/0.445, allocations: 78.59 MB / 419.9 MB, free: 44.28 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005445/0.0005446, allocations: 12 kB / 499.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3945, allocations: 69.35 MB / 0.5558 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.5171, allocations: 98.59 MB / 0.6521 GB, free: 7.938 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.5174, allocations: 75.97 kB / 0.6521 GB, free: 7.863 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0842/0.6016, allocations: 31.35 MB / 0.6827 GB, free: 8.359 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.6016, allocations: 0 / 0.6827 GB, free: 8.359 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000112/0.6017, allocations: 24 kB / 0.6828 GB, free: 8.336 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.005924/0.6077, allocations: 1.998 MB / 0.6847 GB, free: 6.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.6077, allocations: 12.03 kB / 0.6847 GB, free: 6.258 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/0.6117, allocations: 0.5641 MB / 0.6853 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.6142, allocations: 0.7859 MB / 0.686 GB, free: 4.852 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003513/0.6145, allocations: 272.1 kB / 0.6863 GB, free: 4.551 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.6149, allocations: 76 kB / 0.6864 GB, free: 4.477 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.6177, allocations: 1.129 MB / 0.6875 GB, free: 3.332 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.6178, allocations: 0 / 0.6875 GB, free: 3.332 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.6179, allocations: 32 kB / 0.6875 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.6179, allocations: 23.98 kB / 0.6875 GB, free: 3.277 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.6203, allocations: 1.042 MB / 0.6885 GB, free: 2.234 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.007687/0.628, allocations: 3.793 MB / 0.6923 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008438/0.6364, allocations: 2.892 MB / 0.6951 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.6366, allocations: 16.98 kB / 0.6951 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002817/0.6395, allocations: 0.8801 MB / 0.696 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=95): time 4.449e-06/0.6395, allocations: 0 / 0.696 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.05158/0.6911, allocations: 8.538 MB / 0.7043 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.6912, allocations: 115.8 kB / 0.7044 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.6929, allocations: 0.9253 MB / 0.7053 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002261/0.6931, allocations: 45.7 kB / 0.7054 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.6935, allocations: 0.509 MB / 0.7058 GB, free: 116 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/0.6939, allocations: 343 kB / 0.7062 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.694, allocations: 20 kB / 0.7062 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6941, allocations: 341.9 kB / 0.7065 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.6955, allocations: 0.6461 MB / 0.7072 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.6969, allocations: 0.7713 MB / 0.7079 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.6983, allocations: 0.7461 MB / 0.7086 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6984, allocations: 0 / 0.7086 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01398/0.7123, allocations: 4.673 MB / 0.7132 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.469e-05/0.7125, allocations: 59.41 kB / 0.7133 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.7125, allocations: 0 / 0.7133 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006535/0.719, allocations: 1.904 MB / 0.7151 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.7201, allocations: 179.8 kB / 0.7153 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02206/0.7421, allocations: 9.482 MB / 0.7245 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.7439, allocations: 203 kB / 0.7247 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.744, allocations: 39.98 kB / 0.7248 GB, free: 12.49 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.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 (94): * Single equations (assignments): 91 * 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.000668/0.7447, allocations: 284.3 kB / 0.725 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.7449, allocations: 122.5 kB / 0.7252 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/0.7588, allocations: 4.736 MB / 0.7298 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.7588, allocations: 12 kB / 0.7298 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.7589, allocations: 8 kB / 0.7298 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.589e-05/0.7589, allocations: 3.984 kB / 0.7298 GB, free: 7.285 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.02021/0.7791, allocations: 6.277 MB / 0.7359 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.7792, allocations: 4 kB / 0.7359 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000955/0.7802, allocations: 99.83 kB / 0.736 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007348/0.7875, allocations: 1.88 MB / 0.7379 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002258/0.7878, allocations: 23.98 kB / 0.7379 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0275/0.8153, allocations: 10.13 MB / 0.7478 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8153, allocations: 0 / 0.7478 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01565/0.831, allocations: 5.646 MB / 0.7533 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006935/0.8317, allocations: 227.2 kB / 0.7535 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.8319, allocations: 27.95 kB / 0.7535 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.8332, allocations: 143.9 kB / 0.7537 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000624/0.8338, allocations: 188.7 kB / 0.7539 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.188e-05/0.8339, allocations: 31.98 kB / 0.7539 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00123/0.8351, allocations: 0.7276 MB / 0.7546 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8351, allocations: 0 / 0.7546 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001534/0.8367, allocations: 439.5 kB / 0.755 GB, free: 13 MB / 0.5573 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.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 (63): * Single equations (assignments): 60 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003372/0.837, allocations: 151.1 kB / 0.7552 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006146/0.8432, allocations: 2.464 MB / 0.7576 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.8432, allocations: 0 / 0.7576 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004645/0.8479, allocations: 1.81 MB / 0.7593 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00097/0.8489, allocations: 96.59 kB / 0.7594 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.8529, allocations: 2.6 MB / 0.762 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.8536, allocations: 1.155 MB / 0.7631 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004484/0.854, allocations: 86.77 kB / 0.7632 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.8543, allocations: 67.42 kB / 0.7632 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/0.8543, allocations: 0 / 0.7632 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of Templates: time 0.2667/1.121, allocations: 20.56 MB / 0.7833 GB, free: 146.4 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)