Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001335/0.001335, allocations: 175 kB / 12.73 MB, free: 2.59 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.3/1.3, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008609/0.0008608, allocations: 98.69 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4765/0.4765, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.703e-05, allocations: 7.938 kB / 491.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3302, allocations: 69.34 MB / 0.548 GB, free: 20.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4579, allocations: 102.6 MB / 0.6482 GB, free: 13.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.4582, allocations: 79.95 kB / 0.6483 GB, free: 13.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4115/0.8698, allocations: 36.46 MB / 0.6839 GB, free: 105.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.8698, allocations: 0 / 0.6839 GB, free: 105.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002003/0.87, allocations: 23.25 kB / 0.6839 GB, free: 105.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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.007112/0.8772, allocations: 1.952 MB / 0.6858 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.8772, allocations: 13.22 kB / 0.6859 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/0.8813, allocations: 0.5719 MB / 0.6864 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002923/0.8842, allocations: 0.8819 MB / 0.6873 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003899/0.8847, allocations: 335.7 kB / 0.6876 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/0.8851, allocations: 97.33 kB / 0.6877 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.8877, allocations: 1.088 MB / 0.6887 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.8877, allocations: 2.344 kB / 0.6888 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.8879, allocations: 38.86 kB / 0.6888 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.8879, allocations: 23.56 kB / 0.6888 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.8897, allocations: 0.9738 MB / 0.6898 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007802/0.8975, allocations: 4.231 MB / 0.6939 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.8998, allocations: 1.558 MB / 0.6954 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000919/0.9008, allocations: 0.67 MB / 0.6961 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.9009, allocations: 26.75 kB / 0.6961 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.9022, allocations: 0.7713 MB / 0.6968 GB, free: 100.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=108): time 3.055e-06/0.9022, allocations: 0 / 0.6968 GB, free: 100.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.01326/0.9154, allocations: 4.454 MB / 0.7012 GB, free: 99.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.9155, allocations: 114.3 kB / 0.7013 GB, free: 99.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.917, allocations: 0.861 MB / 0.7021 GB, free: 99.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000266/0.9173, allocations: 49.67 kB / 0.7022 GB, free: 99.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.9176, allocations: 0.5363 MB / 0.7027 GB, free: 98.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004862/0.9181, allocations: 378.3 kB / 0.7031 GB, free: 98.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.9183, allocations: 21.28 kB / 0.7031 GB, free: 98.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.9184, allocations: 349.5 kB / 0.7034 GB, free: 98.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009229/0.9193, allocations: 0.5141 MB / 0.7039 GB, free: 97.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009575/0.9203, allocations: 0.6494 MB / 0.7046 GB, free: 97.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/0.9213, allocations: 0.6146 MB / 0.7052 GB, free: 97.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.9213, allocations: 0 / 0.7052 GB, free: 97.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01303/0.9343, allocations: 4.561 MB / 0.7096 GB, free: 95.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.623e-05/0.9344, allocations: 67.33 kB / 0.7097 GB, free: 95.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.9344, allocations: 4 kB / 0.7097 GB, free: 95.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005813/0.9403, allocations: 1.832 MB / 0.7115 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.9414, allocations: 205.5 kB / 0.7117 GB, free: 94.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.9575, allocations: 8.093 MB / 0.7196 GB, free: 86.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.9596, allocations: 241.3 kB / 0.7198 GB, free: 86.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.9598, allocations: 39.52 kB / 0.7198 GB, free: 86.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" ) "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 () * 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 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004969/0.9603, allocations: 195.5 kB / 0.72 GB, free: 86.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004647/0.9608, allocations: 130.3 kB / 0.7202 GB, free: 86.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.9741, allocations: 4.608 MB / 0.7247 GB, free: 82.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.9742, allocations: 12 kB / 0.7247 GB, free: 82.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.9742, allocations: 3.562 kB / 0.7247 GB, free: 82.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.148e-05/0.9742, allocations: 11.34 kB / 0.7247 GB, free: 82.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.9899, allocations: 6.445 MB / 0.731 GB, free: 75.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.99, allocations: 0 / 0.731 GB, free: 75.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/0.9908, allocations: 135.8 kB / 0.7311 GB, free: 75.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005353/0.9962, allocations: 1.836 MB / 0.7329 GB, free: 73.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002339/0.9964, allocations: 20 kB / 0.7329 GB, free: 73.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/1.012, allocations: 8.614 MB / 0.7413 GB, free: 65.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.012, allocations: 0 / 0.7413 GB, free: 65.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/1.026, allocations: 5.462 MB / 0.7467 GB, free: 59.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005941/1.026, allocations: 231.1 kB / 0.7469 GB, free: 59.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004634/1.027, allocations: 20 kB / 0.7469 GB, free: 59.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/1.029, allocations: 187.8 kB / 0.7471 GB, free: 59.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007465/1.029, allocations: 232.6 kB / 0.7473 GB, free: 58.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.03, allocations: 28 kB / 0.7473 GB, free: 58.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000955/1.031, allocations: 0.655 MB / 0.748 GB, free: 58.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.031, allocations: 0 / 0.748 GB, free: 58.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001756/1.032, allocations: 487.4 kB / 0.7484 GB, free: 57.74 MB / 490.7 MB 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 () * 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.0003205/1.033, allocations: 151.8 kB / 0.7486 GB, free: 57.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005364/1.038, allocations: 2.322 MB / 0.7509 GB, free: 55.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.038, allocations: 0 / 0.7509 GB, free: 55.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004267/1.042, allocations: 1.783 MB / 0.7526 GB, free: 53.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/1.043, allocations: 116.5 kB / 0.7527 GB, free: 53.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/1.047, allocations: 1.92 MB / 0.7546 GB, free: 51.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/1.048, allocations: 1.182 MB / 0.7557 GB, free: 50.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005209/1.048, allocations: 98.47 kB / 0.7558 GB, free: 50.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/1.049, allocations: 63.42 kB / 0.7559 GB, free: 49.99 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/1.049, allocations: 192 / 0.7559 GB, free: 49.99 MB / 490.7 MB Notification: Performance of Templates: time 0.03358/1.082, allocations: 23.39 MB / 0.7787 GB, free: 26.92 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)