Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 174.6 kB / 16.12 MB, free: 5.695 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.476/1.476, allocations: 205.4 MB / 222.3 MB, free: 9.031 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.0008718/0.0008717, allocations: 93.47 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2989/0.2989, allocations: 42.29 MB / 361.2 MB, free: 49.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004791, allocations: 16 kB / 429.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1249, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4868, allocations: 97.78 MB / 0.5711 GB, free: 9.977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4871, allocations: 89.81 kB / 0.5711 GB, free: 9.891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1007/0.5878, allocations: 35.4 MB / 0.6057 GB, free: 6.301 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5879, allocations: 0 / 0.6057 GB, free: 6.301 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001683/0.588, allocations: 24 kB / 0.6057 GB, free: 6.277 MB / 426.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.007511/0.5956, allocations: 2.216 MB / 0.6079 GB, free: 4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.5956, allocations: 16.03 kB / 0.6079 GB, free: 3.984 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/0.5995, allocations: 0.5795 MB / 0.6085 GB, free: 3.402 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.6025, allocations: 0.9586 MB / 0.6094 GB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005296/0.6031, allocations: 343.5 kB / 0.6098 GB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004662/0.6036, allocations: 87.91 kB / 0.6098 GB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003884/0.6075, allocations: 1.361 MB / 0.6112 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.6075, allocations: 0 / 0.6112 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.6077, allocations: 47.86 kB / 0.6112 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.6078, allocations: 24 kB / 0.6112 GB, free: 480 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003484/0.6112, allocations: 1.277 MB / 0.6125 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009904/0.6212, allocations: 4.25 MB / 0.6166 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004225/0.6255, allocations: 1.849 MB / 0.6184 GB, free: 8.805 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.6276, allocations: 0.9421 MB / 0.6194 GB, free: 7.855 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.6278, allocations: 20.92 kB / 0.6194 GB, free: 7.832 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002239/0.63, allocations: 1.029 MB / 0.6204 GB, free: 6.789 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 4.508e-06/0.63, allocations: 0 / 0.6204 GB, free: 6.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.03503/0.6651, allocations: 9.343 MB / 0.6295 GB, free: 13.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/0.6652, allocations: 119.8 kB / 0.6296 GB, free: 13.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.6674, allocations: 1.01 MB / 0.6306 GB, free: 12.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003452/0.6678, allocations: 45.7 kB / 0.6306 GB, free: 12.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/0.6683, allocations: 0.5405 MB / 0.6312 GB, free: 11.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007353/0.6691, allocations: 386.5 kB / 0.6315 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.6692, allocations: 20 kB / 0.6316 GB, free: 11.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.6694, allocations: 341.9 kB / 0.6319 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.6714, allocations: 0.7678 MB / 0.6326 GB, free: 10.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.6734, allocations: 0.8984 MB / 0.6335 GB, free: 9.168 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01769/0.6911, allocations: 5.224 MB / 0.6386 GB, free: 3.859 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.6912, allocations: 4 kB / 0.6386 GB, free: 3.855 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01489/0.7061, allocations: 5.154 MB / 0.6437 GB, free: 14.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.7063, allocations: 59.72 kB / 0.6437 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.7063, allocations: 8 kB / 0.6437 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00785/0.7142, allocations: 2.148 MB / 0.6458 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.7155, allocations: 215.7 kB / 0.646 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/0.7389, allocations: 9.714 MB / 0.6555 GB, free: 2.391 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.741, allocations: 235 kB / 0.6557 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/0.7414, allocations: 43.98 kB / 0.6558 GB, free: 2.117 MB / 474.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.001155/0.7425, allocations: 293.4 kB / 0.6561 GB, free: 1.816 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005438/0.7431, allocations: 130.4 kB / 0.6562 GB, free: 1.688 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/0.759, allocations: 5.325 MB / 0.6614 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.759, allocations: 12 kB / 0.6614 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.759, allocations: 0 / 0.6614 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.091e-05/0.7591, allocations: 3.984 kB / 0.6614 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/0.7788, allocations: 7.167 MB / 0.6684 GB, free: 5.004 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.7789, allocations: 0 / 0.6684 GB, free: 5.004 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009983/0.7799, allocations: 135.9 kB / 0.6685 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006828/0.7867, allocations: 2.219 MB / 0.6707 GB, free: 2.645 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003009/0.7871, allocations: 20 kB / 0.6707 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.269/1.056, allocations: 10.64 MB / 0.6811 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.056, allocations: 0 / 0.6811 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/1.073, allocations: 6.431 MB / 0.6874 GB, free: 121.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/1.074, allocations: 228.7 kB / 0.6876 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/1.074, allocations: 19.47 kB / 0.6876 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.075, allocations: 184.4 kB / 0.6878 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008482/1.076, allocations: 239.7 kB / 0.688 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/1.076, allocations: 27.69 kB / 0.688 GB, free: 121.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001021/1.077, allocations: 0.6979 MB / 0.6887 GB, free: 121 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.077, allocations: 0 / 0.6887 GB, free: 121 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001549/1.079, allocations: 478.7 kB / 0.6892 GB, free: 121 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 () * Number of clocked 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.0003228/1.079, allocations: 152.1 kB / 0.6893 GB, free: 120.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006471/1.086, allocations: 2.853 MB / 0.6921 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.086, allocations: 0 / 0.6921 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004969/1.091, allocations: 2.07 MB / 0.6941 GB, free: 120.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.092, allocations: 133.3 kB / 0.6943 GB, free: 120.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/1.097, allocations: 2.924 MB / 0.6971 GB, free: 118.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/1.098, allocations: 1.158 MB / 0.6982 GB, free: 118 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005325/1.099, allocations: 97.03 kB / 0.6983 GB, free: 118 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/1.099, allocations: 63.05 kB / 0.6984 GB, free: 118 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/1.099, allocations: 3.188 kB / 0.6984 GB, free: 118 MB / 490.7 MB Notification: Performance of Templates: time 0.04556/1.144, allocations: 23.33 MB / 0.7212 GB, free: 116.7 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)