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.001161/0.001161, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008354/0.0008354, allocations: 89.05 kB / 261.4 MB, free: 13.45 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.07595/0.07595, allocations: 12.6 MB / 321.9 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2838/0.2838, allocations: 78.07 MB / 450.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.017e-05, allocations: 4 kB / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1323, allocations: 69.34 MB / 0.5824 GB, free: 8.375 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4537/0.5861, allocations: 101.7 MB / 0.6817 GB, free: 6.316 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.5864, allocations: 92.86 kB / 0.6818 GB, free: 6.262 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07602/0.6624, allocations: 28.77 MB / 0.7099 GB, free: 14.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6625, allocations: 0 / 0.7099 GB, free: 14.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001253/0.6626, allocations: 20 kB / 0.7099 GB, free: 14.54 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.006111/0.6687, allocations: 1.886 MB / 0.7118 GB, free: 12.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6688, allocations: 8.031 kB / 0.7118 GB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003787/0.6726, allocations: 0.5629 MB / 0.7123 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.6748, allocations: 0.8252 MB / 0.7132 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.6752, allocations: 228.2 kB / 0.7134 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.6755, allocations: 51.56 kB / 0.7134 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001782/0.6773, allocations: 0.861 MB / 0.7143 GB, free: 10.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.6791, allocations: 0.8947 MB / 0.7151 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.6791, allocations: 0 / 0.7151 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.6793, allocations: 7.938 kB / 0.7151 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.6793, allocations: 19.94 kB / 0.7152 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007014/0.6863, allocations: 3.594 MB / 0.7187 GB, free: 7.305 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.6881, allocations: 1.356 MB / 0.72 GB, free: 6.195 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/0.689, allocations: 0.6009 MB / 0.7206 GB, free: 5.871 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.6892, allocations: 21.23 kB / 0.7206 GB, free: 5.848 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.6903, allocations: 0.7085 MB / 0.7213 GB, free: 5.363 MB / 458.7 MB Notification: Performance of pre-optimization done (n=102): time 3.577e-06/0.6903, allocations: 4 kB / 0.7213 GB, free: 5.359 MB / 458.7 MB Notification: Performance of matching and sorting (n=102): time 0.01258/0.7029, allocations: 4.239 MB / 0.7254 GB, free: 1.684 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.703, allocations: 119.9 kB / 0.7256 GB, free: 1.547 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.7054, allocations: 0.781 MB / 0.7263 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003764/0.7058, allocations: 29.7 kB / 0.7263 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/0.7063, allocations: 0.5169 MB / 0.7268 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007901/0.7071, allocations: 351.1 kB / 0.7272 GB, free: 344 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.7073, allocations: 0 / 0.7272 GB, free: 344 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.7075, allocations: 347.5 kB / 0.7275 GB, free: 8 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.7086, allocations: 490.4 kB / 0.728 GB, free: 15.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.7096, allocations: 0.5928 MB / 0.7286 GB, free: 15.38 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009872/0.7106, allocations: 0.5279 MB / 0.7291 GB, free: 15.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.7106, allocations: 0 / 0.7291 GB, free: 15.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01282/0.7234, allocations: 4.335 MB / 0.7333 GB, free: 11.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/0.7235, allocations: 67.39 kB / 0.7334 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.7236, allocations: 4 kB / 0.7334 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00614/0.7297, allocations: 1.791 MB / 0.7351 GB, free: 9.695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.7309, allocations: 190.3 kB / 0.7353 GB, free: 9.516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/0.7468, allocations: 7.449 MB / 0.7426 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.7487, allocations: 191 kB / 0.7428 GB, free: 2.199 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.749, allocations: 32 kB / 0.7428 GB, free: 2.168 MB / 474.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.000469/0.7495, allocations: 154.4 kB / 0.7429 GB, free: 2.004 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004003/0.7499, allocations: 126.5 kB / 0.7431 GB, free: 1.879 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/0.7627, allocations: 4.355 MB / 0.7473 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.7627, allocations: 15.95 kB / 0.7473 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7628, allocations: 0 / 0.7473 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.7628, allocations: 7.969 kB / 0.7473 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.7784, allocations: 6.003 MB / 0.7532 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.7785, allocations: 4 kB / 0.7532 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/0.7792, allocations: 111.8 kB / 0.7533 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005308/0.7845, allocations: 1.742 MB / 0.755 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.7847, allocations: 8 kB / 0.755 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.7994, allocations: 8.116 MB / 0.7629 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.7994, allocations: 4.234 kB / 0.763 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/0.8131, allocations: 5.167 MB / 0.768 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/0.8137, allocations: 215.6 kB / 0.7682 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/0.8141, allocations: 3.984 kB / 0.7682 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.8155, allocations: 139.8 kB / 0.7683 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006777/0.8162, allocations: 213 kB / 0.7685 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.8164, allocations: 28 kB / 0.7686 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001005/0.8174, allocations: 0.6092 MB / 0.7692 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8174, allocations: 0 / 0.7692 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001722/0.8191, allocations: 427.4 kB / 0.7696 GB, free: 6.277 MB / 0.4948 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.0003292/0.8195, allocations: 127.1 kB / 0.7697 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005486/0.825, allocations: 2.213 MB / 0.7719 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.825, allocations: 0 / 0.7719 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004353/0.8293, allocations: 1.688 MB / 0.7735 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.8304, allocations: 77.8 kB / 0.7736 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.8344, allocations: 1.77 MB / 0.7753 GB, free: 296 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008827/0.8353, allocations: 1.159 MB / 0.7764 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004709/0.8358, allocations: 86.69 kB / 0.7765 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/0.836, allocations: 63.42 kB / 0.7766 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of SimCode: time 2.776e-06/0.836, allocations: 0 / 0.7766 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.03429/0.8703, allocations: 20.83 MB / 0.7969 GB, free: 10.14 MB / 0.5261 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)