Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_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.0009737/0.0009737, 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.205/1.205, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008983/0.0008986, allocations: 86.95 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4537/0.4537, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.471e-05, allocations: 3.938 kB / 491.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3178, allocations: 69.33 MB / 0.5481 GB, free: 20.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.4364, allocations: 100.8 MB / 0.6464 GB, free: 15.65 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.4368, allocations: 83.95 kB / 0.6465 GB, free: 15.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07949/0.5163, allocations: 29.94 MB / 0.6758 GB, free: 1.434 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5163, allocations: 0 / 0.6758 GB, free: 1.434 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.914e-05/0.5164, allocations: 23.94 kB / 0.6758 GB, free: 1.41 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.2894/0.8058, allocations: 1.873 MB / 0.6776 GB, free: 103.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.8059, allocations: 13.69 kB / 0.6776 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005132/0.8064, allocations: 136.4 kB / 0.6778 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003918/0.8103, allocations: 0.561 MB / 0.6783 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.8127, allocations: 0.8217 MB / 0.6791 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/0.813, allocations: 259 kB / 0.6794 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/0.8134, allocations: 87.2 kB / 0.6794 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.8158, allocations: 1.011 MB / 0.6804 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.8158, allocations: 2.141 kB / 0.6804 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.8159, allocations: 38.06 kB / 0.6805 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.816, allocations: 18.69 kB / 0.6805 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.8179, allocations: 0.9008 MB / 0.6814 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007662/0.8255, allocations: 3.741 MB / 0.685 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.8276, allocations: 1.382 MB / 0.6864 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.8289, allocations: 0.638 MB / 0.687 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.8291, allocations: 13.7 kB / 0.687 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/0.8304, allocations: 0.7357 MB / 0.6877 GB, free: 101.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 3.276e-06/0.8304, allocations: 0 / 0.6877 GB, free: 101.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01179/0.8422, allocations: 4.332 MB / 0.692 GB, free: 100.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.8423, allocations: 115.3 kB / 0.6921 GB, free: 100.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.8435, allocations: 0.8443 MB / 0.6929 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.8437, allocations: 48.59 kB / 0.6929 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.844, allocations: 0.5148 MB / 0.6934 GB, free: 99.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.8443, allocations: 363.8 kB / 0.6938 GB, free: 99.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.8444, allocations: 19.91 kB / 0.6938 GB, free: 99.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.8445, allocations: 345.5 kB / 0.6941 GB, free: 99.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007863/0.8453, allocations: 0.5011 MB / 0.6946 GB, free: 98.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/0.8461, allocations: 0.6296 MB / 0.6952 GB, free: 98.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008556/0.847, allocations: 0.5969 MB / 0.6958 GB, free: 98.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.847, allocations: 3.656 kB / 0.6958 GB, free: 98.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01196/0.8589, allocations: 4.477 MB / 0.7002 GB, free: 97.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.859, allocations: 62.98 kB / 0.7003 GB, free: 97.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.859, allocations: 3.75 kB / 0.7003 GB, free: 97.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005934/0.865, allocations: 1.85 MB / 0.7021 GB, free: 96.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009645/0.866, allocations: 182.1 kB / 0.7022 GB, free: 96.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.8803, allocations: 7.67 MB / 0.7097 GB, free: 92.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.8821, allocations: 212.2 kB / 0.7099 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002191/0.8823, allocations: 39.84 kB / 0.71 GB, free: 92 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.0003205/0.8826, allocations: 187.3 kB / 0.7101 GB, free: 91.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.883, allocations: 129.6 kB / 0.7103 GB, free: 91.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.8947, allocations: 4.471 MB / 0.7146 GB, free: 88.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/0.8948, allocations: 15.33 kB / 0.7146 GB, free: 88.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.8948, allocations: 4 kB / 0.7147 GB, free: 88.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-05/0.8948, allocations: 6.984 kB / 0.7147 GB, free: 88.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.9092, allocations: 6.215 MB / 0.7207 GB, free: 83.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.9093, allocations: 3.656 kB / 0.7207 GB, free: 83.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006387/0.9099, allocations: 107 kB / 0.7208 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004873/0.9148, allocations: 1.77 MB / 0.7226 GB, free: 81.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.915, allocations: 19.52 kB / 0.7226 GB, free: 81.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/0.9289, allocations: 8.308 MB / 0.7307 GB, free: 73.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9289, allocations: 0 / 0.7307 GB, free: 73.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.9427, allocations: 5.268 MB / 0.7358 GB, free: 68.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/0.9432, allocations: 223.3 kB / 0.7361 GB, free: 68.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003839/0.9436, allocations: 23.98 kB / 0.7361 GB, free: 68.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.9451, allocations: 151.4 kB / 0.7362 GB, free: 68.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007696/0.9459, allocations: 216.6 kB / 0.7364 GB, free: 68.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.9461, allocations: 28 kB / 0.7365 GB, free: 68.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009342/0.947, allocations: 0.6613 MB / 0.7371 GB, free: 67.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.947, allocations: 0 / 0.7371 GB, free: 67.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001535/0.9486, allocations: 464.4 kB / 0.7375 GB, free: 66.93 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.01323/0.9618, allocations: 5.942 MB / 0.7433 GB, free: 60.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00561/0.9675, allocations: 2.288 MB / 0.7456 GB, free: 58.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.9675, allocations: 8.438 kB / 0.7456 GB, free: 58.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004234/0.9718, allocations: 1.74 MB / 0.7473 GB, free: 56.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009749/0.9728, allocations: 97.67 kB / 0.7474 GB, free: 56.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.9769, allocations: 2.035 MB / 0.7494 GB, free: 54.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.9774, allocations: 1.151 MB / 0.7505 GB, free: 53.53 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004235/0.9778, allocations: 94.53 kB / 0.7506 GB, free: 53.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/0.9784, allocations: 463.3 kB / 0.751 GB, free: 52.98 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.9784, allocations: 0 / 0.751 GB, free: 52.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04766/1.026, allocations: 32.75 MB / 0.783 GB, free: 20.75 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.026, allocations: 169.3 kB / 0.7832 GB, free: 20.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/3.851, allocations: 0 / 0.7832 GB, free: 20.52 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)