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.001204/0.001204, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.5 MB / 229.6 MB, free: 7.555 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.0009474/0.0009474, allocations: 93.84 kB / 280.5 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4921/0.4921, allocations: 78.07 MB / 409.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.646e-05, allocations: 7.922 kB / 485 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1418, allocations: 69.36 MB / 0.5414 GB, free: 6.688 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.5801, allocations: 100.1 MB / 0.6391 GB, free: 15.25 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/0.5804, allocations: 85.2 kB / 0.6392 GB, free: 15.17 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08033/0.6608, allocations: 29.58 MB / 0.6681 GB, free: 1.648 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.6609, allocations: 4 kB / 0.6681 GB, free: 1.645 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.042e-05/0.6609, allocations: 24.84 kB / 0.6681 GB, free: 1.621 MB / 474.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.005168/0.6661, allocations: 1.875 MB / 0.67 GB, free: 15.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.6662, allocations: 12.03 kB / 0.67 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/0.6695, allocations: 0.5602 MB / 0.6705 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.6712, allocations: 0.8373 MB / 0.6713 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/0.6715, allocations: 224.2 kB / 0.6715 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.6717, allocations: 52 kB / 0.6716 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001588/0.6733, allocations: 0.863 MB / 0.6724 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.6748, allocations: 0.8993 MB / 0.6733 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.6749, allocations: 2.156 kB / 0.6733 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-05/0.675, allocations: 0 / 0.6733 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.675, allocations: 20 kB / 0.6733 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006697/0.6817, allocations: 3.599 MB / 0.6768 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.6836, allocations: 1.348 MB / 0.6782 GB, free: 6.938 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008735/0.6845, allocations: 0.6068 MB / 0.6788 GB, free: 6.328 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.6846, allocations: 17.3 kB / 0.6788 GB, free: 6.312 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.6858, allocations: 0.7035 MB / 0.6795 GB, free: 5.586 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 5.731e-06/0.6858, allocations: 0 / 0.6795 GB, free: 5.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01309/0.6989, allocations: 4.243 MB / 0.6836 GB, free: 1.324 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.699, allocations: 120.2 kB / 0.6837 GB, free: 1.184 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.7003, allocations: 0.7865 MB / 0.6845 GB, free: 392 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002256/0.7005, allocations: 25.7 kB / 0.6845 GB, free: 360 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.7009, allocations: 0.5128 MB / 0.685 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.7014, allocations: 350.8 kB / 0.6853 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/0.7014, allocations: 0 / 0.6853 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.7016, allocations: 341.9 kB / 0.6857 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008232/0.7024, allocations: 490.6 kB / 0.6861 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/0.7033, allocations: 0.6018 MB / 0.6867 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008947/0.7042, allocations: 0.5308 MB / 0.6872 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.7042, allocations: 0 / 0.6872 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01351/0.7177, allocations: 4.337 MB / 0.6915 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/0.7178, allocations: 67.91 kB / 0.6915 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.7179, allocations: 4 kB / 0.6916 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006637/0.7245, allocations: 1.791 MB / 0.6933 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.7257, allocations: 187.7 kB / 0.6935 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/0.7436, allocations: 7.443 MB / 0.7007 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.7456, allocations: 195 kB / 0.7009 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002745/0.7459, allocations: 37.02 kB / 0.701 GB, free: 15.29 MB / 0.5105 GB 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.0005435/0.7465, allocations: 153.9 kB / 0.7011 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01376/0.7603, allocations: 4.239 MB / 0.7053 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009166/0.7612, allocations: 122.5 kB / 0.7054 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/0.7757, allocations: 4.355 MB / 0.7096 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.7758, allocations: 12 kB / 0.7096 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7758, allocations: 0 / 0.7096 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.329e-05/0.7759, allocations: 11.97 kB / 0.7096 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.7923, allocations: 6.001 MB / 0.7155 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.7924, allocations: 1.688 kB / 0.7155 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007457/0.7931, allocations: 103.9 kB / 0.7156 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005757/0.7989, allocations: 1.755 MB / 0.7173 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.7991, allocations: 11.98 kB / 0.7173 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01545/0.8146, allocations: 8.12 MB / 0.7253 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.8146, allocations: 2.422 kB / 0.7253 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/0.8298, allocations: 5.155 MB / 0.7303 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/0.8305, allocations: 219.4 kB / 0.7305 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004926/0.831, allocations: 4 kB / 0.7305 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.8327, allocations: 135.9 kB / 0.7306 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008095/0.8335, allocations: 220.8 kB / 0.7309 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/0.8337, allocations: 31.98 kB / 0.7309 GB, free: 200 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001136/0.8348, allocations: 0.5937 MB / 0.7315 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8348, allocations: 0 / 0.7315 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002074/0.8369, allocations: 427.5 kB / 0.7319 GB, free: 15.18 MB / 0.5417 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.01577/0.8527, allocations: 5.817 MB / 0.7376 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00664/0.8594, allocations: 2.212 MB / 0.7397 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.8594, allocations: 3.938 kB / 0.7397 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005378/0.8648, allocations: 1.684 MB / 0.7414 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.8662, allocations: 82.11 kB / 0.7414 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006155/0.8724, allocations: 1.954 MB / 0.7433 GB, free: 3.285 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.8735, allocations: 1.162 MB / 0.7445 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006315/0.8742, allocations: 86.7 kB / 0.7446 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008107/0.875, allocations: 455.3 kB / 0.745 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of SimCode: time 9.41e-07/0.875, allocations: 0 / 0.745 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.365/1.24, allocations: 30.58 MB / 0.7749 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/1.24, allocations: 126.4 kB / 0.775 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/4.338, allocations: 1.859 kB / 0.775 GB, free: 144.5 MB / 0.5573 GB (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)