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.004981/0.004981, allocations: 171.1 kB / 15.11 MB, free: 5.969 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.39/1.39, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009961/0.0009961, allocations: 102.9 kB / 290.2 MB, free: 4.602 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4926/0.4926, allocations: 78.51 MB / 419.8 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 12 kB / 499.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1708, allocations: 69.37 MB / 0.5558 GB, free: 1.641 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5007/0.6716, allocations: 100.8 MB / 0.6543 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.6719, allocations: 84.14 kB / 0.6544 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08046/0.7524, allocations: 30.02 MB / 0.6837 GB, free: 3.621 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.7524, allocations: 0 / 0.6837 GB, free: 3.621 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.725e-05/0.7525, allocations: 23.94 kB / 0.6837 GB, free: 3.598 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.005923/0.7584, allocations: 2.164 MB / 0.6858 GB, free: 1.371 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.7585, allocations: 8.031 kB / 0.6858 GB, free: 1.363 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000255/0.7588, allocations: 141.3 kB / 0.686 GB, free: 1.219 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/0.7621, allocations: 0.5719 MB / 0.6865 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.7642, allocations: 0.8537 MB / 0.6873 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/0.7645, allocations: 256.2 kB / 0.6876 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.7647, allocations: 87.95 kB / 0.6877 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.7673, allocations: 1.223 MB / 0.6889 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.7673, allocations: 0 / 0.6889 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.7675, allocations: 39.98 kB / 0.6889 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.7675, allocations: 20 kB / 0.6889 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.7699, allocations: 1.136 MB / 0.69 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007296/0.7773, allocations: 3.747 MB / 0.6937 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.7799, allocations: 1.608 MB / 0.6953 GB, free: 7.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.78, allocations: 16.98 kB / 0.6953 GB, free: 7.305 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/0.7818, allocations: 0.9466 MB / 0.6962 GB, free: 6.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 3.226e-06/0.7818, allocations: 0 / 0.6962 GB, free: 6.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.02913/0.811, allocations: 8.533 MB / 0.7045 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/0.8111, allocations: 123.8 kB / 0.7047 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.8129, allocations: 0.8807 MB / 0.7055 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003107/0.8132, allocations: 49.69 kB / 0.7056 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/0.8137, allocations: 0.5088 MB / 0.7061 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.8141, allocations: 366.7 kB / 0.7064 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.8142, allocations: 20 kB / 0.7064 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.8144, allocations: 345.9 kB / 0.7068 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.8159, allocations: 0.7171 MB / 0.7075 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.8174, allocations: 0.8382 MB / 0.7083 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.8191, allocations: 0.8127 MB / 0.7091 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.8191, allocations: 3.938 kB / 0.7091 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01509/0.8342, allocations: 5.09 MB / 0.714 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.8343, allocations: 59.41 kB / 0.7141 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.8344, allocations: 4 kB / 0.7141 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007564/0.8419, allocations: 2.22 MB / 0.7163 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.8432, allocations: 191.7 kB / 0.7165 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0257/0.8689, allocations: 10.4 MB / 0.7266 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/0.8713, allocations: 211.1 kB / 0.7268 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.8716, allocations: 36 kB / 0.7269 GB, free: 6.613 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start fixed = true ) "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 () * Number of clocked 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.001013/0.8726, allocations: 281 kB / 0.7271 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/0.8731, allocations: 130.4 kB / 0.7272 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/0.8889, allocations: 5.087 MB / 0.7322 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/0.889, allocations: 12 kB / 0.7322 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.889, allocations: 3.953 kB / 0.7322 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.223e-05/0.8891, allocations: 3.984 kB / 0.7322 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/0.9073, allocations: 6.835 MB / 0.7389 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.9074, allocations: 4 kB / 0.7389 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008684/0.9083, allocations: 107.9 kB / 0.739 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006602/0.9149, allocations: 2.14 MB / 0.7411 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002785/0.9152, allocations: 23.98 kB / 0.7411 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02319/0.9384, allocations: 10.77 MB / 0.7516 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9384, allocations: 0 / 0.7516 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01756/0.956, allocations: 6.102 MB / 0.7576 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006795/0.9567, allocations: 227.3 kB / 0.7578 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.957, allocations: 16 kB / 0.7578 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.9583, allocations: 159.9 kB / 0.758 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007287/0.9591, allocations: 212.8 kB / 0.7582 GB, free: 6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.144e-05/0.9592, allocations: 28.23 kB / 0.7582 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001152/0.9603, allocations: 0.6993 MB / 0.7589 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9604, allocations: 0 / 0.7589 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001724/0.9621, allocations: 467.5 kB / 0.7593 GB, free: 4.809 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 () * Number of clocked 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.01753/0.9796, allocations: 6.768 MB / 0.7659 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007436/0.9871, allocations: 2.74 MB / 0.7686 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.9872, allocations: 0 / 0.7686 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005151/0.9923, allocations: 1.978 MB / 0.7706 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.9934, allocations: 96.97 kB / 0.7706 GB, free: 9.113 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006126/0.9996, allocations: 4.735 MB / 0.7753 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/1, allocations: 1.163 MB / 0.7764 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004389/1.001, allocations: 82.69 kB / 0.7765 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000604/1.001, allocations: 463.5 kB / 0.7769 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/1.001, allocations: 7.875 kB / 0.7769 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3626/1.364, allocations: 32.39 MB / 0.8086 GB, free: 151.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/1.364, allocations: 192.9 kB / 0.8088 GB, free: 151.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/4.47, allocations: 0 / 0.8088 GB, free: 151.4 MB / 0.573 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)