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.0009231/0.0009232, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009101/0.0009102, allocations: 103.9 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4665/0.4665, allocations: 78.13 MB / 409.4 MB, free: 6.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.977e-05/1.979e-05, allocations: 7.938 kB / 485 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1473, allocations: 69.36 MB / 0.5413 GB, free: 6.961 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3946/0.5419, allocations: 100.1 MB / 0.6391 GB, free: 15.67 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.5422, allocations: 87.95 kB / 0.6392 GB, free: 15.58 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08173/0.6239, allocations: 29.57 MB / 0.668 GB, free: 2.074 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.6239, allocations: 0 / 0.668 GB, free: 2.074 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.392e-05/0.624, allocations: 24 kB / 0.6681 GB, free: 2.051 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.005221/0.6293, allocations: 1.883 MB / 0.6699 GB, free: 116 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.6293, allocations: 8.031 kB / 0.6699 GB, free: 108 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/0.6329, allocations: 0.5641 MB / 0.6705 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.6348, allocations: 0.8225 MB / 0.6713 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/0.6351, allocations: 228.2 kB / 0.6715 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.6352, allocations: 52 kB / 0.6715 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001587/0.6368, allocations: 0.863 MB / 0.6724 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.6384, allocations: 0.8954 MB / 0.6732 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.6384, allocations: 0 / 0.6732 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/0.6385, allocations: 7.984 kB / 0.6732 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.6385, allocations: 20 kB / 0.6733 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006831/0.6454, allocations: 3.606 MB / 0.6768 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.6472, allocations: 1.346 MB / 0.6781 GB, free: 7.359 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000915/0.6481, allocations: 0.6046 MB / 0.6787 GB, free: 6.754 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.6483, allocations: 25.28 kB / 0.6787 GB, free: 6.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/0.6494, allocations: 0.7073 MB / 0.6794 GB, free: 6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 2.294e-06/0.6494, allocations: 4 kB / 0.6794 GB, free: 5.996 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01324/0.6626, allocations: 4.224 MB / 0.6835 GB, free: 1.754 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.6627, allocations: 116.1 kB / 0.6836 GB, free: 1.617 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.6641, allocations: 0.7865 MB / 0.6844 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002499/0.6644, allocations: 33.73 kB / 0.6844 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.6648, allocations: 0.5088 MB / 0.6849 GB, free: 268 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004007/0.6652, allocations: 350.8 kB / 0.6853 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.6652, allocations: 0 / 0.6853 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6654, allocations: 345.9 kB / 0.6856 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000836/0.6662, allocations: 498.5 kB / 0.6861 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008676/0.6671, allocations: 0.5902 MB / 0.6867 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/0.668, allocations: 0.5269 MB / 0.6872 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.668, allocations: 4 kB / 0.6872 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01306/0.6811, allocations: 4.337 MB / 0.6914 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/0.6812, allocations: 69.59 kB / 0.6915 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.6812, allocations: 4 kB / 0.6915 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006555/0.6878, allocations: 1.795 MB / 0.6932 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.6891, allocations: 191.7 kB / 0.6934 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/0.7047, allocations: 7.441 MB / 0.7007 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.7066, allocations: 190.9 kB / 0.7009 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/0.7067, allocations: 35.98 kB / 0.7009 GB, free: 15.73 MB / 0.5105 GB 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.0003535/0.707, allocations: 151.7 kB / 0.701 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.7073, allocations: 126.5 kB / 0.7012 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/0.72, allocations: 4.355 MB / 0.7054 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.7201, allocations: 12 kB / 0.7054 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7201, allocations: 0 / 0.7054 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/0.7202, allocations: 3.984 kB / 0.7054 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.7356, allocations: 6.011 MB / 0.7113 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.7357, allocations: 0 / 0.7113 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009041/0.7366, allocations: 103.9 kB / 0.7114 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005902/0.7425, allocations: 1.752 MB / 0.7131 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/0.7428, allocations: 8 kB / 0.7131 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0163/0.7591, allocations: 8.11 MB / 0.721 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.7592, allocations: 0 / 0.721 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/0.774, allocations: 5.166 MB / 0.7261 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005256/0.7746, allocations: 231.2 kB / 0.7263 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/0.7749, allocations: 2.625 kB / 0.7263 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.7765, allocations: 139.9 kB / 0.7264 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007441/0.7773, allocations: 208.9 kB / 0.7266 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.7774, allocations: 24 kB / 0.7267 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001167/0.7786, allocations: 0.6015 MB / 0.7273 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.21e-07/0.7786, allocations: 4 kB / 0.7273 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001909/0.7805, allocations: 419.6 kB / 0.7277 GB, free: 3.871 MB / 0.5261 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.0003329/0.7809, allocations: 135 kB / 0.7278 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005911/0.7868, allocations: 2.217 MB / 0.73 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7868, allocations: 0.5625 kB / 0.73 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004787/0.7916, allocations: 1.687 MB / 0.7316 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009625/0.7926, allocations: 83.61 kB / 0.7317 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.7965, allocations: 1.788 MB / 0.7334 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000807/0.7974, allocations: 1.159 MB / 0.7346 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004743/0.7978, allocations: 86.69 kB / 0.7346 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.7981, allocations: 63.42 kB / 0.7347 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of SimCode: time 6.11e-07/0.7981, allocations: 0 / 0.7347 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of Templates: time 0.03451/0.8326, allocations: 20.81 MB / 0.755 GB, free: 7.957 MB / 0.5573 GB 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)