Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007201/0.007201, 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 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 221.3 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009612/0.0009611, allocations: 90.84 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07897/0.07897, allocations: 12.61 MB / 330.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4336/0.4336, allocations: 78.52 MB / 460 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005654/0.0005653, allocations: 17.97 kB / 0.5285 GB, free: 35.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1429, allocations: 69.34 MB / 0.5962 GB, free: 3.773 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.5971, allocations: 102.5 MB / 0.6963 GB, free: 35.93 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.5974, allocations: 89.09 kB / 0.6963 GB, free: 35.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0756/0.673, allocations: 29.2 MB / 0.7249 GB, free: 33.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6731, allocations: 3.906 kB / 0.7249 GB, free: 33.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.009e-05/0.6731, allocations: 27.56 kB / 0.7249 GB, free: 33.19 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.005282/0.6784, allocations: 2.154 MB / 0.727 GB, free: 32.22 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.6785, allocations: 15.48 kB / 0.727 GB, free: 32.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.6816, allocations: 0.5698 MB / 0.7276 GB, free: 32.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.6833, allocations: 0.8611 MB / 0.7284 GB, free: 31.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.6835, allocations: 250.6 kB / 0.7286 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.6837, allocations: 94.75 kB / 0.7287 GB, free: 31.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.6859, allocations: 1.222 MB / 0.7299 GB, free: 31.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.6859, allocations: 0 / 0.7299 GB, free: 31.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/0.686, allocations: 37.02 kB / 0.73 GB, free: 31.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.686, allocations: 19.53 kB / 0.73 GB, free: 31.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.688, allocations: 1.143 MB / 0.7311 GB, free: 31.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005669/0.6937, allocations: 3.747 MB / 0.7348 GB, free: 30.44 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.6957, allocations: 1.609 MB / 0.7363 GB, free: 29.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-05/0.6958, allocations: 12.53 kB / 0.7363 GB, free: 29.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/0.6974, allocations: 0.9501 MB / 0.7373 GB, free: 29.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=102): time 3.416e-06/0.6974, allocations: 3.938 kB / 0.7373 GB, free: 29.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=102): time 0.02542/0.7228, allocations: 8.536 MB / 0.7456 GB, free: 27.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.7229, allocations: 122.7 kB / 0.7457 GB, free: 27.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.7243, allocations: 0.8778 MB / 0.7466 GB, free: 27.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.7245, allocations: 48.75 kB / 0.7466 GB, free: 27.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.7248, allocations: 0.5061 MB / 0.7471 GB, free: 27.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.7251, allocations: 366 kB / 0.7475 GB, free: 26.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.7252, allocations: 22.28 kB / 0.7475 GB, free: 26.96 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.7253, allocations: 339.9 kB / 0.7478 GB, free: 26.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.7266, allocations: 0.7199 MB / 0.7485 GB, free: 26.53 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.7278, allocations: 0.834 MB / 0.7493 GB, free: 26.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.7292, allocations: 0.8249 MB / 0.7501 GB, free: 26.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7292, allocations: 0 / 0.7501 GB, free: 26.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01315/0.7423, allocations: 5.089 MB / 0.7551 GB, free: 24.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.7424, allocations: 59.25 kB / 0.7552 GB, free: 24.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.7425, allocations: 3.906 kB / 0.7552 GB, free: 24.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006691/0.7492, allocations: 2.22 MB / 0.7573 GB, free: 23.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.7503, allocations: 187.2 kB / 0.7575 GB, free: 23.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0201/0.7704, allocations: 10.4 MB / 0.7677 GB, free: 20.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.7722, allocations: 223.6 kB / 0.7679 GB, free: 20.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.7724, allocations: 33.91 kB / 0.7679 GB, free: 20.67 MB / 474.7 MB 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.0006564/0.773, allocations: 279.6 kB / 0.7682 GB, free: 20.51 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.7734, allocations: 121.1 kB / 0.7683 GB, free: 20.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.7866, allocations: 5.097 MB / 0.7733 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.7867, allocations: 11.73 kB / 0.7733 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.7867, allocations: 3.875 kB / 0.7733 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.7867, allocations: 3.984 kB / 0.7733 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.8026, allocations: 6.822 MB / 0.78 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.8026, allocations: 0 / 0.78 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/0.8034, allocations: 102.7 kB / 0.7801 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005983/0.8094, allocations: 2.151 MB / 0.7822 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002514/0.8097, allocations: 23.48 kB / 0.7822 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/0.8296, allocations: 10.78 MB / 0.7927 GB, free: 2.859 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.8297, allocations: 4 kB / 0.7927 GB, free: 2.855 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/0.8457, allocations: 6.098 MB / 0.7987 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006387/0.8464, allocations: 219.3 kB / 0.7989 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004425/0.8469, allocations: 24 kB / 0.7989 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.8485, allocations: 151.9 kB / 0.799 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007905/0.8493, allocations: 208.6 kB / 0.7992 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.8494, allocations: 31.98 kB / 0.7993 GB, free: 12.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001422/0.8509, allocations: 0.6954 MB / 0.7999 GB, free: 11.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8509, allocations: 0 / 0.7999 GB, free: 11.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001939/0.8528, allocations: 471.4 kB / 0.8004 GB, free: 10.91 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 () * 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.0003654/0.8532, allocations: 155.8 kB / 0.8005 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007316/0.8605, allocations: 2.734 MB / 0.8032 GB, free: 7.984 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.8606, allocations: 0 / 0.8032 GB, free: 7.984 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005193/0.8658, allocations: 1.972 MB / 0.8051 GB, free: 5.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.8668, allocations: 96.42 kB / 0.8052 GB, free: 5.879 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/0.8723, allocations: 2.804 MB / 0.808 GB, free: 3.051 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009555/0.8733, allocations: 1.155 MB / 0.8091 GB, free: 1.867 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005383/0.8739, allocations: 86.69 kB / 0.8092 GB, free: 1.777 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.8742, allocations: 59.42 kB / 0.8092 GB, free: 1.719 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/0.8742, allocations: 0 / 0.8092 GB, free: 1.719 MB / 490.7 MB Notification: Performance of Templates: time 0.03871/0.9129, allocations: 22.57 MB / 0.8313 GB, free: 11.17 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)