Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 174.1 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.258/1.258, 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.001022/0.001022, allocations: 96.91 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5807/0.5807, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.965e-05, allocations: 4 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3537, allocations: 69.5 MB / 0.5491 GB, free: 19.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.4863, allocations: 103.3 MB / 0.65 GB, free: 12.29 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.4866, allocations: 87.94 kB / 0.6501 GB, free: 12.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4271/0.9137, allocations: 37.16 MB / 0.6864 GB, free: 105.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.9137, allocations: 1.094 kB / 0.6864 GB, free: 105.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001681/0.9139, allocations: 26.62 kB / 0.6864 GB, free: 105.7 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.005704/0.9196, allocations: 1.95 MB / 0.6883 GB, free: 104.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.9197, allocations: 18.91 kB / 0.6883 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003472/0.9231, allocations: 0.5741 MB / 0.6889 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.9251, allocations: 0.8719 MB / 0.6897 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.9254, allocations: 334.7 kB / 0.6901 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.9256, allocations: 96.22 kB / 0.6902 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.9273, allocations: 1.09 MB / 0.6912 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.9273, allocations: 3.75 kB / 0.6912 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.9274, allocations: 38.83 kB / 0.6913 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.9275, allocations: 23.75 kB / 0.6913 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.9289, allocations: 0.9734 MB / 0.6922 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006527/0.9355, allocations: 4.268 MB / 0.6964 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.9375, allocations: 1.546 MB / 0.6979 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008208/0.9383, allocations: 0.6736 MB / 0.6986 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.9384, allocations: 15.59 kB / 0.6986 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.9395, allocations: 0.7733 MB / 0.6993 GB, free: 100.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=108): time 3.045e-06/0.9395, allocations: 1.875 kB / 0.6993 GB, free: 100.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.01253/0.952, allocations: 4.45 MB / 0.7037 GB, free: 99.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.9521, allocations: 117 kB / 0.7038 GB, free: 99.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.9532, allocations: 0.8528 MB / 0.7046 GB, free: 99.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002326/0.9535, allocations: 45.61 kB / 0.7047 GB, free: 98.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.9537, allocations: 0.5405 MB / 0.7052 GB, free: 98.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.954, allocations: 375.9 kB / 0.7056 GB, free: 98.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.9541, allocations: 23.41 kB / 0.7056 GB, free: 98.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.9542, allocations: 346.2 kB / 0.7059 GB, free: 97.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008296/0.955, allocations: 0.5171 MB / 0.7064 GB, free: 97.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008278/0.9559, allocations: 0.6474 MB / 0.7071 GB, free: 97.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.9567, allocations: 0.6107 MB / 0.7076 GB, free: 97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.9567, allocations: 0 / 0.7076 GB, free: 97 MB / 490.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01246/0.9692, allocations: 4.564 MB / 0.7121 GB, free: 93.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.9693, allocations: 59.41 kB / 0.7122 GB, free: 93.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.9693, allocations: 4 kB / 0.7122 GB, free: 93.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005664/0.9749, allocations: 1.841 MB / 0.714 GB, free: 92.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.9761, allocations: 208 kB / 0.7142 GB, free: 92.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/0.9908, allocations: 8.097 MB / 0.7221 GB, free: 85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.9926, allocations: 239 kB / 0.7223 GB, free: 84.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.9928, allocations: 43.98 kB / 0.7223 GB, free: 84.72 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002726/0.993, allocations: 200.8 kB / 0.7225 GB, free: 84.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.9932, allocations: 130.3 kB / 0.7227 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.006, allocations: 4.611 MB / 0.7272 GB, free: 79.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.006, allocations: 12 kB / 0.7272 GB, free: 79.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.006, allocations: 0 / 0.7272 GB, free: 79.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/1.006, allocations: 7.984 kB / 0.7272 GB, free: 79.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/1.02, allocations: 6.446 MB / 0.7335 GB, free: 73.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.02, allocations: 0 / 0.7335 GB, free: 73.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/1.021, allocations: 139.8 kB / 0.7336 GB, free: 73.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005185/1.026, allocations: 1.836 MB / 0.7354 GB, free: 71.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/1.026, allocations: 31.17 kB / 0.7354 GB, free: 71.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.041, allocations: 8.602 MB / 0.7438 GB, free: 62.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.041, allocations: 0 / 0.7438 GB, free: 62.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/1.055, allocations: 5.484 MB / 0.7492 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007153/1.056, allocations: 227.1 kB / 0.7494 GB, free: 56.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/1.056, allocations: 23.98 kB / 0.7494 GB, free: 56.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.058, allocations: 183.8 kB / 0.7496 GB, free: 56.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000724/1.058, allocations: 228.6 kB / 0.7498 GB, free: 56.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.721e-05/1.059, allocations: 35.61 kB / 0.7499 GB, free: 56.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000902/1.059, allocations: 0.6589 MB / 0.7505 GB, free: 55.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.059, allocations: 0 / 0.7505 GB, free: 55.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001593/1.061, allocations: 483.4 kB / 0.751 GB, free: 54.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * 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 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003561/1.061, allocations: 162.9 kB / 0.7511 GB, free: 54.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005506/1.067, allocations: 2.322 MB / 0.7534 GB, free: 52.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.067, allocations: 0 / 0.7534 GB, free: 52.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004224/1.071, allocations: 1.78 MB / 0.7551 GB, free: 50.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009795/1.072, allocations: 110.8 kB / 0.7552 GB, free: 50.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/1.076, allocations: 1.917 MB / 0.7571 GB, free: 48.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/1.076, allocations: 1.186 MB / 0.7583 GB, free: 47.35 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004653/1.077, allocations: 91.06 kB / 0.7583 GB, free: 47.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/1.077, allocations: 67.42 kB / 0.7584 GB, free: 47.19 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/1.077, allocations: 0 / 0.7584 GB, free: 47.19 MB / 490.7 MB Notification: Performance of Templates: time 0.03361/1.111, allocations: 23.38 MB / 0.7812 GB, free: 24.05 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)