Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.00395/0.00395, allocations: 171.3 kB / 15.12 MB, free: 5.973 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.153/1.153, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008209/0.0008209, allocations: 102 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3939/0.3939, allocations: 78.53 MB / 419.8 MB, free: 44.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 12 kB / 499.7 MB, free: 2.766 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2989, allocations: 69.35 MB / 0.5557 GB, free: 38.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.4058, allocations: 102.7 MB / 0.656 GB, free: 3.688 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.4062, allocations: 91.94 kB / 0.6561 GB, free: 3.598 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09562/0.5018, allocations: 36.54 MB / 0.6918 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5019, allocations: 0 / 0.6918 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.224e-05/0.502, allocations: 28 kB / 0.6918 GB, free: 14.84 MB / 0.4948 GB 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.005722/0.5077, allocations: 2.232 MB / 0.694 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.5077, allocations: 8.031 kB / 0.694 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/0.511, allocations: 0.5835 MB / 0.6946 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.513, allocations: 0.9128 MB / 0.6955 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003433/0.5133, allocations: 339.5 kB / 0.6958 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.5135, allocations: 87.98 kB / 0.6959 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.5161, allocations: 1.365 MB / 0.6972 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.5161, allocations: 0 / 0.6972 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.5162, allocations: 32 kB / 0.6972 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.5163, allocations: 20 kB / 0.6973 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.5188, allocations: 1.296 MB / 0.6985 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006768/0.5256, allocations: 4.231 MB / 0.7027 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.5288, allocations: 1.876 MB / 0.7045 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.561e-05/0.5289, allocations: 9 kB / 0.7045 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001866/0.5308, allocations: 1.037 MB / 0.7055 GB, free: 328 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=108): time 3.857e-06/0.5308, allocations: 0 / 0.7055 GB, free: 328 kB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.03213/0.5629, allocations: 9.302 MB / 0.7146 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.563, allocations: 115.8 kB / 0.7147 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.5645, allocations: 0.8947 MB / 0.7156 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.5646, allocations: 45.7 kB / 0.7156 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.565, allocations: 0.5327 MB / 0.7161 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.5653, allocations: 382.5 kB / 0.7165 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.5654, allocations: 20 kB / 0.7165 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5655, allocations: 345.9 kB / 0.7169 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.567, allocations: 0.7678 MB / 0.7176 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.5686, allocations: 0.8984 MB / 0.7185 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.5701, allocations: 0.8594 MB / 0.7193 GB, free: 2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.5702, allocations: 4 kB / 0.7193 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01355/0.5837, allocations: 5.153 MB / 0.7244 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.5838, allocations: 59.41 kB / 0.7244 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5838, allocations: 4 kB / 0.7244 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006253/0.59, allocations: 2.157 MB / 0.7265 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009877/0.591, allocations: 207.8 kB / 0.7267 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/0.611, allocations: 10.2 MB / 0.7367 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.6124, allocations: 231.2 kB / 0.7369 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.6125, allocations: 39.98 kB / 0.7369 GB, free: 15.77 MB / 0.5417 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.000525/0.6131, allocations: 293.6 kB / 0.7372 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.6133, allocations: 142.1 kB / 0.7374 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.6274, allocations: 5.322 MB / 0.7425 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.6275, allocations: 8 kB / 0.7426 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6275, allocations: 8 kB / 0.7426 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.6275, allocations: 3.984 kB / 0.7426 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/0.6444, allocations: 7.15 MB / 0.7496 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.6444, allocations: 4 kB / 0.7496 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007412/0.6451, allocations: 135.7 kB / 0.7497 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006219/0.6514, allocations: 2.215 MB / 0.7518 GB, free: 340 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.6516, allocations: 27.98 kB / 0.7519 GB, free: 312 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02197/0.6735, allocations: 11.15 MB / 0.7628 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6736, allocations: 4 kB / 0.7628 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2163/0.8898, allocations: 6.431 MB / 0.769 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/0.8903, allocations: 226.5 kB / 0.7693 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.8905, allocations: 22.06 kB / 0.7693 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.8918, allocations: 186.5 kB / 0.7695 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006933/0.8925, allocations: 233.8 kB / 0.7697 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/0.8926, allocations: 29.81 kB / 0.7697 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009785/0.8936, allocations: 0.6943 MB / 0.7704 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8936, allocations: 3.25 kB / 0.7704 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001217/0.8948, allocations: 477.1 kB / 0.7708 GB, free: 140.7 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.0002409/0.8951, allocations: 149.7 kB / 0.771 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006272/0.9014, allocations: 2.848 MB / 0.7738 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9014, allocations: 1.156 kB / 0.7738 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004427/0.9058, allocations: 2.079 MB / 0.7758 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.9064, allocations: 109.9 kB / 0.7759 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.9101, allocations: 2.947 MB / 0.7788 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.9105, allocations: 1.183 MB / 0.7799 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003497/0.9109, allocations: 93.88 kB / 0.78 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.9111, allocations: 69.25 kB / 0.7801 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of SimCode: time 3.5e-07/0.9111, allocations: 3.969 kB / 0.7801 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.03165/0.9428, allocations: 23.3 MB / 0.8029 GB, free: 136.9 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)