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.001011/0.001011, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.311/1.311, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008144/0.0008144, allocations: 85.55 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06591/0.06591, allocations: 12.6 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2826/0.2826, allocations: 78.03 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.615e-05, allocations: 4 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.09811, allocations: 69.34 MB / 0.5895 GB, free: 2.492 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3535/0.4517, allocations: 102.4 MB / 0.6895 GB, free: 13.11 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4519, allocations: 90.75 kB / 0.6896 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0812/0.5331, allocations: 29.11 MB / 0.718 GB, free: 4.402 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5332, allocations: 4 kB / 0.718 GB, free: 4.398 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.122e-05/0.5333, allocations: 27.94 kB / 0.718 GB, free: 4.371 MB / 458.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.005024/0.5383, allocations: 1.874 MB / 0.7198 GB, free: 2.562 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5384, allocations: 11.98 kB / 0.7199 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/0.5417, allocations: 0.5635 MB / 0.7204 GB, free: 2.027 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.5435, allocations: 0.8299 MB / 0.7212 GB, free: 1.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.5437, allocations: 265.5 kB / 0.7215 GB, free: 1.055 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.5439, allocations: 80.62 kB / 0.7216 GB, free: 1.004 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.5457, allocations: 1.01 MB / 0.7225 GB, free: 352 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.5457, allocations: 0 / 0.7225 GB, free: 352 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.5458, allocations: 32.44 kB / 0.7226 GB, free: 344 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.5459, allocations: 16 kB / 0.7226 GB, free: 328 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.5474, allocations: 0.9071 MB / 0.7235 GB, free: 15.76 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006633/0.5541, allocations: 3.739 MB / 0.7271 GB, free: 12.92 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.5559, allocations: 1.392 MB / 0.7285 GB, free: 11.78 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009334/0.5569, allocations: 0.6302 MB / 0.7291 GB, free: 11.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.557, allocations: 19.73 kB / 0.7291 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.5582, allocations: 0.7448 MB / 0.7298 GB, free: 10.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=102): time 2.925e-06/0.5583, allocations: 0 / 0.7298 GB, free: 10.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=102): time 0.01297/0.5712, allocations: 4.317 MB / 0.7341 GB, free: 7.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.5713, allocations: 111.8 kB / 0.7342 GB, free: 7.043 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.5726, allocations: 0.8514 MB / 0.735 GB, free: 6.395 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.5728, allocations: 45.27 kB / 0.735 GB, free: 6.359 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.5731, allocations: 0.5173 MB / 0.7355 GB, free: 6.066 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003892/0.5735, allocations: 363.5 kB / 0.7359 GB, free: 5.754 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.5736, allocations: 21.88 kB / 0.7359 GB, free: 5.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5738, allocations: 351.4 kB / 0.7362 GB, free: 5.418 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008833/0.5747, allocations: 0.5011 MB / 0.7367 GB, free: 5.145 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009171/0.5756, allocations: 0.6243 MB / 0.7373 GB, free: 4.734 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/0.5766, allocations: 0.5967 MB / 0.7379 GB, free: 4.363 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5766, allocations: 4 kB / 0.7379 GB, free: 4.359 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01352/0.5901, allocations: 4.481 MB / 0.7423 GB, free: 500 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.036e-05/0.5902, allocations: 59.39 kB / 0.7424 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5902, allocations: 4 kB / 0.7424 GB, free: 424 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006357/0.5966, allocations: 1.834 MB / 0.7442 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5976, allocations: 186.7 kB / 0.7443 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.6135, allocations: 7.665 MB / 0.7518 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.6151, allocations: 207.1 kB / 0.752 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.6152, allocations: 35.98 kB / 0.7521 GB, free: 7.113 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.0002807/0.6155, allocations: 190.5 kB / 0.7522 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.6158, allocations: 130.4 kB / 0.7524 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.6288, allocations: 4.471 MB / 0.7567 GB, free: 2.285 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.6289, allocations: 15.98 kB / 0.7567 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.6289, allocations: 0 / 0.7567 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.6289, allocations: 7.969 kB / 0.7567 GB, free: 2.262 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.644, allocations: 6.211 MB / 0.7628 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.644, allocations: 0 / 0.7628 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/0.6447, allocations: 119.8 kB / 0.7629 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00564/0.6504, allocations: 1.758 MB / 0.7646 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.6505, allocations: 23.98 kB / 0.7647 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01548/0.666, allocations: 8.31 MB / 0.7728 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.666, allocations: 3.984 kB / 0.7728 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/0.6803, allocations: 5.271 MB / 0.7779 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.6807, allocations: 223.2 kB / 0.7781 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.6809, allocations: 20 kB / 0.7782 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.6822, allocations: 151.9 kB / 0.7783 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006101/0.6828, allocations: 212.6 kB / 0.7785 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/0.683, allocations: 31.98 kB / 0.7785 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009233/0.6839, allocations: 0.6535 MB / 0.7792 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6839, allocations: 0 / 0.7792 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001268/0.6852, allocations: 475.7 kB / 0.7796 GB, free: 10.33 MB / 0.5105 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.0002873/0.6855, allocations: 147 kB / 0.7798 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005636/0.6911, allocations: 2.299 MB / 0.782 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6911, allocations: 0 / 0.782 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00447/0.6956, allocations: 1.734 MB / 0.7837 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.6963, allocations: 92.42 kB / 0.7838 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.6998, allocations: 1.831 MB / 0.7856 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.7004, allocations: 1.151 MB / 0.7867 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004179/0.7009, allocations: 94.67 kB / 0.7868 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.7011, allocations: 55.44 kB / 0.7869 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/0.7011, allocations: 0 / 0.7869 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of Templates: time 0.03442/0.7355, allocations: 22.55 MB / 0.8089 GB, free: 12.24 MB / 0.5417 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)