Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.002154/0.002153, allocations: 174.7 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.534/1.534, 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.0008429/0.0008428, allocations: 99.11 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.4889/0.4889, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.309e-05, allocations: 4 kB / 491.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3778, allocations: 69.34 MB / 0.5481 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.5078, allocations: 100.7 MB / 0.6465 GB, free: 15.77 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.5082, allocations: 83.95 kB / 0.6466 GB, free: 15.68 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08355/0.5917, allocations: 29.93 MB / 0.6758 GB, free: 1.551 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5918, allocations: 0 / 0.6758 GB, free: 1.551 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002003/0.592, allocations: 20 kB / 0.6758 GB, free: 1.531 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.3529/0.9449, allocations: 1.875 MB / 0.6776 GB, free: 103.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.945, allocations: 14.28 kB / 0.6777 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005356/0.9455, allocations: 133.2 kB / 0.6778 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003944/0.9494, allocations: 0.5629 MB / 0.6783 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/0.9516, allocations: 0.82 MB / 0.6791 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/0.952, allocations: 266.8 kB / 0.6794 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.9523, allocations: 88.7 kB / 0.6795 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.9546, allocations: 1.006 MB / 0.6805 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.9546, allocations: 0 / 0.6805 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.9547, allocations: 40.3 kB / 0.6805 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.9547, allocations: 20.05 kB / 0.6805 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.9567, allocations: 0.9031 MB / 0.6814 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00793/0.9646, allocations: 3.739 MB / 0.685 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.9667, allocations: 1.384 MB / 0.6864 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.9679, allocations: 0.635 MB / 0.687 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.968, allocations: 19.25 kB / 0.687 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/0.9693, allocations: 0.7299 MB / 0.6878 GB, free: 101.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 3.095e-06/0.9693, allocations: 0 / 0.6878 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01214/0.9815, allocations: 4.338 MB / 0.692 GB, free: 100.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.9816, allocations: 112.7 kB / 0.6921 GB, free: 100.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.9832, allocations: 0.8485 MB / 0.6929 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004146/0.9837, allocations: 45.64 kB / 0.693 GB, free: 100 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.9841, allocations: 0.5119 MB / 0.6935 GB, free: 99.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004704/0.9846, allocations: 361.6 kB / 0.6938 GB, free: 99.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.9847, allocations: 30.44 kB / 0.6938 GB, free: 99.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.9848, allocations: 350.9 kB / 0.6942 GB, free: 99.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009429/0.9858, allocations: 0.4983 MB / 0.6947 GB, free: 98.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008515/0.9866, allocations: 0.6185 MB / 0.6953 GB, free: 98.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.9875, allocations: 0.601 MB / 0.6959 GB, free: 98.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.9875, allocations: 0 / 0.6959 GB, free: 98.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01251/1, allocations: 4.475 MB / 0.7002 GB, free: 97.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/1, allocations: 62.92 kB / 0.7003 GB, free: 97.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/1, allocations: 7.906 kB / 0.7003 GB, free: 97.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0061/1.006, allocations: 1.843 MB / 0.7021 GB, free: 96.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.007, allocations: 185.2 kB / 0.7023 GB, free: 96.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/1.022, allocations: 7.674 MB / 0.7098 GB, free: 92.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/1.024, allocations: 211.7 kB / 0.71 GB, free: 92.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.024, allocations: 36 kB / 0.71 GB, free: 92.14 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.0002809/1.025, allocations: 195 kB / 0.7102 GB, free: 91.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/1.025, allocations: 126.5 kB / 0.7103 GB, free: 91.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/1.037, allocations: 4.479 MB / 0.7147 GB, free: 88.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/1.037, allocations: 12 kB / 0.7147 GB, free: 88.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.037, allocations: 0 / 0.7147 GB, free: 88.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/1.037, allocations: 3.797 kB / 0.7147 GB, free: 88.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/1.051, allocations: 6.211 MB / 0.7208 GB, free: 83.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/1.051, allocations: 7.359 kB / 0.7208 GB, free: 83.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/1.051, allocations: 103.2 kB / 0.7209 GB, free: 83.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005311/1.057, allocations: 1.771 MB / 0.7226 GB, free: 81.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003244/1.057, allocations: 31.64 kB / 0.7226 GB, free: 81.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/1.071, allocations: 8.306 MB / 0.7307 GB, free: 74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.071, allocations: 0 / 0.7307 GB, free: 74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/1.084, allocations: 5.274 MB / 0.7359 GB, free: 68.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000684/1.085, allocations: 219.3 kB / 0.7361 GB, free: 68.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/1.085, allocations: 20 kB / 0.7361 GB, free: 68.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.086, allocations: 155.9 kB / 0.7363 GB, free: 68.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007141/1.087, allocations: 212.6 kB / 0.7365 GB, free: 68.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-05/1.087, allocations: 24 kB / 0.7365 GB, free: 68.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009087/1.088, allocations: 0.6653 MB / 0.7371 GB, free: 67.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.088, allocations: 0 / 0.7371 GB, free: 67.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001386/1.09, allocations: 466.4 kB / 0.7376 GB, free: 67.17 MB / 490.7 MB 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.01305/1.103, allocations: 5.94 MB / 0.7434 GB, free: 61.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005754/1.108, allocations: 2.292 MB / 0.7456 GB, free: 58.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.108, allocations: 0 / 0.7456 GB, free: 58.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004664/1.113, allocations: 1.735 MB / 0.7473 GB, free: 57.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.115, allocations: 106.1 kB / 0.7474 GB, free: 56.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/1.119, allocations: 2.04 MB / 0.7494 GB, free: 54.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/1.12, allocations: 1.151 MB / 0.7505 GB, free: 53.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004707/1.12, allocations: 90.11 kB / 0.7506 GB, free: 53.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/1.121, allocations: 467.3 kB / 0.7511 GB, free: 53.22 MB / 490.7 MB Notification: Performance of SimCode: time 8.81e-07/1.121, allocations: 4 kB / 0.7511 GB, free: 53.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05022/1.171, allocations: 32.74 MB / 0.783 GB, free: 20.95 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/1.171, allocations: 182.2 kB / 0.7832 GB, free: 20.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.935/4.106, allocations: 4 kB / 0.7832 GB, free: 20.71 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)