Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_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_release_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.001363/0.001363, allocations: 174.6 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.308/1.308, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.00109/0.00109, allocations: 87.41 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4756/0.4756, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.476e-05, allocations: 4 kB / 491.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3278, allocations: 69.34 MB / 0.548 GB, free: 20.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.4473, allocations: 100.8 MB / 0.6464 GB, free: 15.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.4475, allocations: 87.94 kB / 0.6465 GB, free: 15.71 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0838/0.5313, allocations: 29.92 MB / 0.6757 GB, free: 1.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5314, allocations: 0 / 0.6757 GB, free: 1.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.433e-05/0.5315, allocations: 24 kB / 0.6757 GB, free: 1.566 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.2989/0.8304, allocations: 1.87 MB / 0.6775 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.8304, allocations: 17.28 kB / 0.6776 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004251/0.8347, allocations: 0.5613 MB / 0.6781 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.8366, allocations: 0.8226 MB / 0.6789 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.8369, allocations: 258.4 kB / 0.6792 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.8371, allocations: 89.88 kB / 0.6792 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.839, allocations: 1.008 MB / 0.6802 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.839, allocations: 0 / 0.6802 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.8391, allocations: 36.7 kB / 0.6803 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.8392, allocations: 19.28 kB / 0.6803 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.8409, allocations: 0.9061 MB / 0.6812 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008029/0.849, allocations: 3.742 MB / 0.6848 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.8509, allocations: 1.384 MB / 0.6862 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.8521, allocations: 0.6347 MB / 0.6868 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.8523, allocations: 22.19 kB / 0.6868 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.8534, allocations: 0.7284 MB / 0.6875 GB, free: 101.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 3.076e-06/0.8534, allocations: 3.281 kB / 0.6875 GB, free: 101.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.0125/0.8659, allocations: 4.335 MB / 0.6918 GB, free: 100.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.866, allocations: 121.7 kB / 0.6919 GB, free: 100.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.8673, allocations: 0.8458 MB / 0.6927 GB, free: 100.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.8676, allocations: 45.14 kB / 0.6927 GB, free: 100.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.8679, allocations: 0.5117 MB / 0.6932 GB, free: 100 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.8682, allocations: 364 kB / 0.6936 GB, free: 99.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.8683, allocations: 19.94 kB / 0.6936 GB, free: 99.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.8684, allocations: 344.6 kB / 0.6939 GB, free: 99.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007837/0.8692, allocations: 0.509 MB / 0.6944 GB, free: 99.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008156/0.87, allocations: 0.6236 MB / 0.695 GB, free: 98.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.8708, allocations: 0.601 MB / 0.6956 GB, free: 98.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.8709, allocations: 3.406 kB / 0.6956 GB, free: 98.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01237/0.8832, allocations: 4.469 MB / 0.7 GB, free: 97.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/0.8834, allocations: 62.27 kB / 0.7001 GB, free: 97.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.8834, allocations: 3.062 kB / 0.7001 GB, free: 97.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006048/0.8894, allocations: 1.843 MB / 0.7019 GB, free: 97.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.8905, allocations: 187.5 kB / 0.702 GB, free: 97.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/0.9054, allocations: 7.672 MB / 0.7095 GB, free: 92.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.9072, allocations: 210 kB / 0.7097 GB, free: 92.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.9073, allocations: 39.8 kB / 0.7098 GB, free: 92.28 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.000261/0.9076, allocations: 185.2 kB / 0.71 GB, free: 92.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.9078, allocations: 130.5 kB / 0.7101 GB, free: 91.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.9198, allocations: 4.481 MB / 0.7145 GB, free: 88.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.9199, allocations: 8 kB / 0.7145 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.9199, allocations: 4 kB / 0.7145 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.11e-05/0.9199, allocations: 3.656 kB / 0.7145 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.9337, allocations: 6.216 MB / 0.7205 GB, free: 83.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.9337, allocations: 0 / 0.7205 GB, free: 83.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007205/0.9344, allocations: 103.2 kB / 0.7206 GB, free: 83.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004982/0.9394, allocations: 1.77 MB / 0.7224 GB, free: 81.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.9396, allocations: 28 kB / 0.7224 GB, free: 81.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/0.9531, allocations: 8.309 MB / 0.7305 GB, free: 74.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.9531, allocations: 4 kB / 0.7305 GB, free: 74.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/0.9663, allocations: 5.271 MB / 0.7357 GB, free: 69.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.9668, allocations: 219.3 kB / 0.7359 GB, free: 68.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.967, allocations: 20 kB / 0.7359 GB, free: 68.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.9683, allocations: 151.9 kB / 0.736 GB, free: 68.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005866/0.9689, allocations: 208.6 kB / 0.7362 GB, free: 68.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.207e-05/0.9689, allocations: 31.98 kB / 0.7363 GB, free: 68.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007277/0.9697, allocations: 0.6575 MB / 0.7369 GB, free: 67.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9697, allocations: 0.9375 kB / 0.7369 GB, free: 67.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00113/0.9708, allocations: 476.8 kB / 0.7374 GB, free: 67.34 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.0002595/0.9711, allocations: 146.5 kB / 0.7375 GB, free: 67.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005/0.9761, allocations: 2.291 MB / 0.7397 GB, free: 64.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9761, allocations: 0 / 0.7397 GB, free: 64.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004079/0.9802, allocations: 1.739 MB / 0.7414 GB, free: 63.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.981, allocations: 104.5 kB / 0.7415 GB, free: 63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.984, allocations: 1.829 MB / 0.7433 GB, free: 61.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.9845, allocations: 1.155 MB / 0.7444 GB, free: 59.99 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004916/0.985, allocations: 90.2 kB / 0.7445 GB, free: 59.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.9853, allocations: 55.44 kB / 0.7446 GB, free: 59.84 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.9853, allocations: 0 / 0.7446 GB, free: 59.84 MB / 490.7 MB Notification: Performance of Templates: time 0.03806/1.023, allocations: 22.54 MB / 0.7666 GB, free: 37.61 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)