Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.00124, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.2 MB / 218.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008163/0.0008163, allocations: 86.64 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0668/0.0668, allocations: 12.18 MB / 326.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2705/0.2705, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.175e-05, allocations: 8 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 69.25 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4872, allocations: 102.3 MB / 0.6889 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4875, allocations: 90.23 kB / 0.6889 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07606/0.5636, allocations: 29.12 MB / 0.7174 GB, free: 5.316 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5636, allocations: 0 / 0.7174 GB, free: 5.316 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.5637, allocations: 27.94 kB / 0.7174 GB, free: 5.289 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.005429/0.5692, allocations: 1.876 MB / 0.7192 GB, free: 3.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5692, allocations: 19.97 kB / 0.7193 GB, free: 3.461 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002772/0.5695, allocations: 127.7 kB / 0.7194 GB, free: 3.379 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.5728, allocations: 0.5669 MB / 0.7199 GB, free: 2.855 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.5744, allocations: 0.8313 MB / 0.7207 GB, free: 2.145 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.5747, allocations: 260.6 kB / 0.721 GB, free: 1.887 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.5748, allocations: 80.81 kB / 0.7211 GB, free: 1.832 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.5765, allocations: 1.005 MB / 0.7221 GB, free: 1.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5765, allocations: 0 / 0.7221 GB, free: 1.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/0.5766, allocations: 32.75 kB / 0.7221 GB, free: 1.172 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.5766, allocations: 20 kB / 0.7221 GB, free: 1.152 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.5781, allocations: 0.9062 MB / 0.723 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006297/0.5844, allocations: 3.746 MB / 0.7266 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.5861, allocations: 1.386 MB / 0.728 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000828/0.5869, allocations: 0.6357 MB / 0.7286 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.5871, allocations: 24.61 kB / 0.7286 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.5881, allocations: 0.7407 MB / 0.7294 GB, free: 11.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=102): time 2.895e-06/0.5882, allocations: 0 / 0.7294 GB, free: 11.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=102): time 0.01248/0.6006, allocations: 4.328 MB / 0.7336 GB, free: 8.031 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.6007, allocations: 115.8 kB / 0.7337 GB, free: 7.891 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.6019, allocations: 0.8492 MB / 0.7345 GB, free: 7.246 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.6021, allocations: 44.39 kB / 0.7346 GB, free: 7.211 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.6024, allocations: 0.5114 MB / 0.7351 GB, free: 6.926 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.6028, allocations: 369.3 kB / 0.7354 GB, free: 6.605 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/0.6028, allocations: 21.12 kB / 0.7355 GB, free: 6.602 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.6029, allocations: 350.8 kB / 0.7358 GB, free: 6.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008169/0.6038, allocations: 0.4978 MB / 0.7363 GB, free: 6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/0.6046, allocations: 0.617 MB / 0.7369 GB, free: 5.598 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008643/0.6055, allocations: 0.6073 MB / 0.7375 GB, free: 5.211 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6055, allocations: 0 / 0.7375 GB, free: 5.211 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01254/0.6181, allocations: 4.473 MB / 0.7418 GB, free: 1.348 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.6182, allocations: 67.39 kB / 0.7419 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.6182, allocations: 0 / 0.7419 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006255/0.6245, allocations: 1.839 MB / 0.7437 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.6255, allocations: 199.5 kB / 0.7439 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.6408, allocations: 7.648 MB / 0.7514 GB, free: 8.109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.6425, allocations: 211 kB / 0.7516 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.6426, allocations: 43.98 kB / 0.7516 GB, free: 7.859 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 94 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002906/0.6429, allocations: 190.4 kB / 0.7518 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.6432, allocations: 126.4 kB / 0.7519 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.6556, allocations: 4.471 MB / 0.7563 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.6556, allocations: 8 kB / 0.7563 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6556, allocations: 4 kB / 0.7563 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/0.6557, allocations: 3.984 kB / 0.7563 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.6701, allocations: 6.218 MB / 0.7624 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.6702, allocations: 3.953 kB / 0.7624 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/0.671, allocations: 103.9 kB / 0.7625 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005364/0.6764, allocations: 1.769 MB / 0.7642 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/0.6766, allocations: 23.98 kB / 0.7642 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/0.6911, allocations: 8.317 MB / 0.7723 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6912, allocations: 3.938 kB / 0.7723 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/0.7049, allocations: 5.263 MB / 0.7775 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004954/0.7054, allocations: 227.2 kB / 0.7777 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.7056, allocations: 16 kB / 0.7777 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.7068, allocations: 159.9 kB / 0.7779 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006505/0.7075, allocations: 208.6 kB / 0.7781 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.457e-05/0.7076, allocations: 31.98 kB / 0.7781 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008532/0.7084, allocations: 0.6575 MB / 0.7787 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7084, allocations: 0 / 0.7787 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00125/0.7097, allocations: 467.5 kB / 0.7792 GB, free: 11.08 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0141/0.7238, allocations: 5.941 MB / 0.785 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005607/0.7294, allocations: 2.284 MB / 0.7872 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7295, allocations: 0 / 0.7872 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004405/0.7339, allocations: 1.745 MB / 0.7889 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/0.7347, allocations: 100.4 kB / 0.789 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.7386, allocations: 2.023 MB / 0.791 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.7393, allocations: 1.159 MB / 0.7921 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000381/0.7397, allocations: 94.69 kB / 0.7922 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/0.7402, allocations: 463.3 kB / 0.7926 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/0.7402, allocations: 4 kB / 0.7926 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05116/0.7914, allocations: 32.74 MB / 0.8246 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.7916, allocations: 187.7 kB / 0.8248 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/3.513, allocations: 0 / 0.8248 GB, free: 12.22 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)