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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009408/0.009408, allocations: 169.3 kB / 15.11 MB, free: 5.582 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.616/1.616, allocations: 223.2 MB / 239 MB, free: 1.809 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.0008418/0.0008418, allocations: 91.27 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5471/0.5471, allocations: 78.52 MB / 419.8 MB, free: 44.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 8 kB / 499.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4929, allocations: 69.35 MB / 0.5558 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.6378, allocations: 102.7 MB / 0.6561 GB, free: 3.688 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.6382, allocations: 95.94 kB / 0.6562 GB, free: 3.594 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09913/0.7373, allocations: 36.55 MB / 0.6919 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7374, allocations: 0 / 0.6919 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.103e-05/0.7374, allocations: 24 kB / 0.6919 GB, free: 14.82 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.005993/0.7434, allocations: 2.236 MB / 0.6941 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.7435, allocations: 12.03 kB / 0.6941 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002466/0.7438, allocations: 139.4 kB / 0.6942 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.747, allocations: 0.5835 MB / 0.6948 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.7492, allocations: 0.9167 MB / 0.6957 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003911/0.7496, allocations: 339.5 kB / 0.696 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.7498, allocations: 95.95 kB / 0.6961 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.7526, allocations: 1.354 MB / 0.6974 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.7527, allocations: 0 / 0.6974 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.7528, allocations: 32 kB / 0.6975 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.7528, allocations: 20 kB / 0.6975 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.7556, allocations: 1.296 MB / 0.6987 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007623/0.7633, allocations: 4.231 MB / 0.7029 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003574/0.7669, allocations: 1.868 MB / 0.7047 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.767, allocations: 16.98 kB / 0.7047 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002048/0.769, allocations: 1.04 MB / 0.7057 GB, free: 156 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=108): time 2.995e-06/0.7691, allocations: 0 / 0.7057 GB, free: 156 kB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.03495/0.804, allocations: 9.302 MB / 0.7148 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.8041, allocations: 111.8 kB / 0.7149 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.8058, allocations: 0.8947 MB / 0.7158 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.806, allocations: 45.7 kB / 0.7158 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/0.8065, allocations: 0.5288 MB / 0.7164 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.8069, allocations: 382.4 kB / 0.7167 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.807, allocations: 27.94 kB / 0.7168 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8072, allocations: 349.9 kB / 0.7171 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.8088, allocations: 0.7639 MB / 0.7178 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.8106, allocations: 0.8945 MB / 0.7187 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.8123, allocations: 0.8634 MB / 0.7195 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8123, allocations: 0 / 0.7195 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01496/0.8273, allocations: 5.156 MB / 0.7246 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/0.8274, allocations: 59.41 kB / 0.7246 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.8274, allocations: 0 / 0.7246 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006968/0.8344, allocations: 2.153 MB / 0.7267 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.8358, allocations: 219.7 kB / 0.727 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02379/0.8596, allocations: 10.2 MB / 0.7369 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.8616, allocations: 227.1 kB / 0.7371 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.8618, allocations: 35.98 kB / 0.7372 GB, free: 15.61 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.0007809/0.8626, allocations: 297.3 kB / 0.7375 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.8629, allocations: 138.3 kB / 0.7376 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/0.8787, allocations: 5.314 MB / 0.7428 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.8787, allocations: 16 kB / 0.7428 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8788, allocations: 0 / 0.7428 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.151e-05/0.8788, allocations: 7.969 kB / 0.7428 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/0.8977, allocations: 7.151 MB / 0.7498 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/0.8978, allocations: 3.938 kB / 0.7498 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.8989, allocations: 135.8 kB / 0.7499 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006889/0.9058, allocations: 2.219 MB / 0.7521 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/0.906, allocations: 20 kB / 0.7521 GB, free: 148 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02445/0.9305, allocations: 11.16 MB / 0.763 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9305, allocations: 3.984 kB / 0.763 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3729/1.303, allocations: 6.423 MB / 0.7693 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006922/1.304, allocations: 222.9 kB / 0.7695 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/1.304, allocations: 25.59 kB / 0.7695 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/1.306, allocations: 186.1 kB / 0.7697 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009664/1.307, allocations: 239 kB / 0.7699 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.307, allocations: 29.61 kB / 0.7699 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001292/1.308, allocations: 0.6941 MB / 0.7706 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.308, allocations: 0 / 0.7706 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00169/1.31, allocations: 485.7 kB / 0.7711 GB, free: 141.1 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.01847/1.328, allocations: 7.095 MB / 0.778 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0072/1.336, allocations: 2.849 MB / 0.7808 GB, free: 140 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.336, allocations: 2.625 kB / 0.7808 GB, free: 140 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00502/1.341, allocations: 2.067 MB / 0.7828 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/1.342, allocations: 110.8 kB / 0.7829 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/1.348, allocations: 5.266 MB / 0.7881 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/1.349, allocations: 1.184 MB / 0.7892 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000478/1.349, allocations: 96.52 kB / 0.7893 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/1.35, allocations: 492.8 kB / 0.7898 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/1.35, allocations: 0 / 0.7898 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06429/1.414, allocations: 33.63 MB / 0.8226 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/1.414, allocations: 203.1 kB / 0.8228 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.147/4.562, allocations: 3.719 kB / 0.8228 GB, free: 133.5 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)