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: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009513/0.0009515, allocations: 175 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.274/1.274, 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.0008679/0.000868, allocations: 99 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.4585/0.4585, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.563e-05, allocations: 7.984 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3149, allocations: 69.34 MB / 0.548 GB, free: 20.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.4336, allocations: 100.8 MB / 0.6464 GB, free: 15.67 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.4339, allocations: 87.95 kB / 0.6464 GB, free: 15.58 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07897/0.5129, allocations: 29.93 MB / 0.6757 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5129, allocations: 4 kB / 0.6757 GB, free: 1.449 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.875e-05/0.513, allocations: 24 kB / 0.6757 GB, free: 1.426 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.2938/0.8067, allocations: 1.866 MB / 0.6775 GB, free: 103.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.8068, allocations: 13.56 kB / 0.6775 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00408/0.8109, allocations: 0.5643 MB / 0.6781 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.8137, allocations: 0.8188 MB / 0.6789 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/0.814, allocations: 258.3 kB / 0.6791 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003745/0.8144, allocations: 89 kB / 0.6792 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.8168, allocations: 1.009 MB / 0.6802 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.8168, allocations: 0.8125 kB / 0.6802 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.8169, allocations: 38.8 kB / 0.6802 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.817, allocations: 19.41 kB / 0.6802 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.8187, allocations: 0.9025 MB / 0.6811 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007004/0.8257, allocations: 3.744 MB / 0.6848 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.8275, allocations: 1.387 MB / 0.6861 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.8286, allocations: 0.6306 MB / 0.6868 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.8287, allocations: 14.42 kB / 0.6868 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.8297, allocations: 0.7375 MB / 0.6875 GB, free: 101.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 2.635e-06/0.8297, allocations: 0 / 0.6875 GB, free: 101.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01236/0.8421, allocations: 4.332 MB / 0.6917 GB, free: 100.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.8422, allocations: 121.9 kB / 0.6918 GB, free: 100.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.8434, allocations: 0.8457 MB / 0.6927 GB, free: 100.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002305/0.8436, allocations: 45.58 kB / 0.6927 GB, free: 100.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.8439, allocations: 0.514 MB / 0.6932 GB, free: 99.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/0.8442, allocations: 366.2 kB / 0.6936 GB, free: 99.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.148e-05/0.8442, allocations: 19.94 kB / 0.6936 GB, free: 99.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.8443, allocations: 348.3 kB / 0.6939 GB, free: 99.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/0.8451, allocations: 0.5016 MB / 0.6944 GB, free: 99.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.8459, allocations: 0.6222 MB / 0.695 GB, free: 98.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008075/0.8467, allocations: 0.6038 MB / 0.6956 GB, free: 98.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8467, allocations: 0 / 0.6956 GB, free: 98.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01212/0.8588, allocations: 4.471 MB / 0.7 GB, free: 97.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.8589, allocations: 66.27 kB / 0.7 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.859, allocations: 2 kB / 0.7 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005951/0.8649, allocations: 1.846 MB / 0.7018 GB, free: 96.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.866, allocations: 187.5 kB / 0.702 GB, free: 96.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/0.8801, allocations: 7.666 MB / 0.7095 GB, free: 92.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.8821, allocations: 212.8 kB / 0.7097 GB, free: 92.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.8822, allocations: 36 kB / 0.7097 GB, free: 92.01 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.000309/0.8826, allocations: 189.2 kB / 0.7099 GB, free: 91.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.8828, allocations: 130.5 kB / 0.71 GB, free: 91.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.8946, allocations: 4.473 MB / 0.7144 GB, free: 88.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.8946, allocations: 11.56 kB / 0.7144 GB, free: 88.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8946, allocations: 0 / 0.7144 GB, free: 88.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/0.8947, allocations: 7.609 kB / 0.7144 GB, free: 88.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.9085, allocations: 6.219 MB / 0.7205 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.9086, allocations: 0 / 0.7205 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008064/0.9094, allocations: 113.5 kB / 0.7206 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005078/0.9145, allocations: 1.755 MB / 0.7223 GB, free: 81.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.9147, allocations: 31.52 kB / 0.7223 GB, free: 81.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/0.9277, allocations: 8.308 MB / 0.7305 GB, free: 73.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9277, allocations: 4 kB / 0.7305 GB, free: 73.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.941, allocations: 5.276 MB / 0.7356 GB, free: 68.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.9415, allocations: 223.3 kB / 0.7358 GB, free: 68.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.9417, allocations: 16 kB / 0.7358 GB, free: 68.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.943, allocations: 151.9 kB / 0.736 GB, free: 68.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005895/0.9436, allocations: 212.6 kB / 0.7362 GB, free: 68.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.004e-05/0.9437, allocations: 27.98 kB / 0.7362 GB, free: 68.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007408/0.9444, allocations: 0.6575 MB / 0.7369 GB, free: 67.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9444, allocations: 0 / 0.7369 GB, free: 67.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00121/0.9457, allocations: 476.2 kB / 0.7373 GB, free: 67.11 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.0002605/0.9459, allocations: 147.8 kB / 0.7375 GB, free: 66.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005065/0.951, allocations: 2.291 MB / 0.7397 GB, free: 64.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.951, allocations: 0 / 0.7397 GB, free: 64.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004089/0.9551, allocations: 1.74 MB / 0.7414 GB, free: 62.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008511/0.956, allocations: 101.7 kB / 0.7415 GB, free: 62.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.9591, allocations: 1.827 MB / 0.7433 GB, free: 60.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.9595, allocations: 1.151 MB / 0.7444 GB, free: 59.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004013/0.9599, allocations: 94.3 kB / 0.7445 GB, free: 59.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.9602, allocations: 55.44 kB / 0.7445 GB, free: 59.61 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.9602, allocations: 0 / 0.7445 GB, free: 59.61 MB / 490.7 MB Notification: Performance of Templates: time 0.02758/0.9878, allocations: 22.54 MB / 0.7666 GB, free: 37.4 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)