Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005745/0.005745, allocations: 169.8 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.204/1.204, allocations: 223.2 MB / 239 MB, free: 60 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.0009622/0.0009623, allocations: 93.19 kB / 290.2 MB, free: 4.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4512/0.4512, allocations: 79.43 MB / 420.8 MB, free: 36.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 12 kB / 0.489 GB, free: 6.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 69.52 MB / 0.5569 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3553/0.4788, allocations: 103.4 MB / 0.6579 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4791, allocations: 94.36 kB / 0.658 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09548/0.5746, allocations: 37.25 MB / 0.6944 GB, free: 8.527 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5746, allocations: 0 / 0.6944 GB, free: 8.527 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001215/0.5747, allocations: 31.94 kB / 0.6944 GB, free: 8.496 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00651/0.5813, allocations: 2.222 MB / 0.6966 GB, free: 6.207 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5813, allocations: 10 kB / 0.6966 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003527/0.5848, allocations: 0.5796 MB / 0.6971 GB, free: 5.617 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.5872, allocations: 0.9089 MB / 0.698 GB, free: 4.656 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004167/0.5877, allocations: 331.6 kB / 0.6983 GB, free: 4.281 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.588, allocations: 92 kB / 0.6984 GB, free: 4.191 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.5909, allocations: 1.365 MB / 0.6998 GB, free: 2.809 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.5909, allocations: 0 / 0.6998 GB, free: 2.809 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.5911, allocations: 32 kB / 0.6998 GB, free: 2.777 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.5911, allocations: 28 kB / 0.6998 GB, free: 2.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.5939, allocations: 1.284 MB / 0.7011 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008039/0.6019, allocations: 4.277 MB / 0.7053 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/0.6052, allocations: 1.853 MB / 0.7071 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.6053, allocations: 20.98 kB / 0.7071 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001986/0.6073, allocations: 1.029 MB / 0.7081 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=108): time 2.986e-06/0.6074, allocations: 0 / 0.7081 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.03466/0.642, allocations: 9.298 MB / 0.7172 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.6421, allocations: 115.8 kB / 0.7173 GB, free: 492 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.6438, allocations: 0.8868 MB / 0.7181 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/0.6441, allocations: 45.7 kB / 0.7182 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.6445, allocations: 0.5327 MB / 0.7187 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005414/0.645, allocations: 390.5 kB / 0.7191 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.6452, allocations: 21.97 kB / 0.7191 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6453, allocations: 345.9 kB / 0.7194 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.647, allocations: 0.7678 MB / 0.7202 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.6488, allocations: 0.8983 MB / 0.7211 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.6505, allocations: 0.8555 MB / 0.7219 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.6505, allocations: 4 kB / 0.7219 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01473/0.6653, allocations: 5.148 MB / 0.7269 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.6654, allocations: 59.41 kB / 0.727 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.6654, allocations: 4 kB / 0.727 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006631/0.672, allocations: 2.156 MB / 0.7291 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.6733, allocations: 219.7 kB / 0.7293 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02186/0.6951, allocations: 10.2 MB / 0.7393 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.697, allocations: 231.1 kB / 0.7395 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.6972, allocations: 39.98 kB / 0.7395 GB, free: 9.449 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * 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 {25 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007805/0.698, allocations: 288.7 kB / 0.7398 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.6984, allocations: 139.1 kB / 0.7399 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/0.7139, allocations: 5.318 MB / 0.7451 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.7139, allocations: 8 kB / 0.7451 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.714, allocations: 4 kB / 0.7451 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/0.714, allocations: 7.922 kB / 0.7451 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/0.733, allocations: 7.17 MB / 0.7521 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.733, allocations: 0 / 0.7521 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/0.7339, allocations: 135.9 kB / 0.7523 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006746/0.7406, allocations: 2.219 MB / 0.7544 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.7409, allocations: 22.25 kB / 0.7545 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02537/0.7662, allocations: 11.15 MB / 0.7653 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.7663, allocations: 7.953 kB / 0.7653 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01904/0.7854, allocations: 6.442 MB / 0.7716 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005381/0.7859, allocations: 227.2 kB / 0.7719 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/0.7864, allocations: 27.94 kB / 0.7719 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/0.7881, allocations: 184.1 kB / 0.7721 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008288/0.789, allocations: 236.5 kB / 0.7723 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.7891, allocations: 35.94 kB / 0.7723 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00131/0.7904, allocations: 0.6967 MB / 0.773 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7904, allocations: 0 / 0.773 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001896/0.7924, allocations: 479.4 kB / 0.7735 GB, free: 6.156 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003867/0.7928, allocations: 160.4 kB / 0.7736 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007405/0.8002, allocations: 2.843 MB / 0.7764 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.8002, allocations: 0 / 0.7764 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005515/0.8057, allocations: 2.067 MB / 0.7784 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.8068, allocations: 100.6 kB / 0.7785 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.8125, allocations: 2.97 MB / 0.7814 GB, free: 13.93 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008523/0.8134, allocations: 1.178 MB / 0.7825 GB, free: 12.71 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005155/0.8139, allocations: 99.03 kB / 0.7826 GB, free: 12.61 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.8142, allocations: 67.42 kB / 0.7827 GB, free: 12.54 MB / 0.573 GB Notification: Performance of SimCode: time 1.212e-06/0.8142, allocations: 0 / 0.7827 GB, free: 12.54 MB / 0.573 GB Notification: Performance of Templates: time 0.2549/1.069, allocations: 23.27 MB / 0.8054 GB, free: 147.7 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)