Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_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_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.001076/0.001076, allocations: 170.2 kB / 16.11 MB, free: 5.586 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.66/1.66, allocations: 205.4 MB / 222.3 MB, free: 13.61 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.0009069/0.0009069, allocations: 90.25 kB / 270.6 MB, free: 13.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.172/0.172, allocations: 42.32 MB / 361.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004406, allocations: 17.5 kB / 429.4 MB, free: 21.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 57.55 MB / 487 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.369/0.4887, allocations: 97.78 MB / 0.571 GB, free: 6.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.489, allocations: 93 kB / 0.5711 GB, free: 6.227 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09474/0.5838, allocations: 35.41 MB / 0.6057 GB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5838, allocations: 4 kB / 0.6057 GB, free: 8.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001169/0.5839, allocations: 24 kB / 0.6057 GB, free: 8.23 MB / 410.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.006494/0.5904, allocations: 2.221 MB / 0.6079 GB, free: 6.094 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5905, allocations: 8.031 kB / 0.6079 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.5942, allocations: 0.5826 MB / 0.6085 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.5971, allocations: 0.9614 MB / 0.6094 GB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004717/0.5976, allocations: 340.8 kB / 0.6098 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/0.598, allocations: 83.94 kB / 0.6098 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003223/0.6012, allocations: 1.364 MB / 0.6112 GB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.6013, allocations: 0 / 0.6112 GB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.6014, allocations: 33.31 kB / 0.6112 GB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.6014, allocations: 31.88 kB / 0.6112 GB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.6043, allocations: 1.289 MB / 0.6125 GB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008179/0.6125, allocations: 4.236 MB / 0.6166 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/0.6159, allocations: 1.863 MB / 0.6184 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.6178, allocations: 0.9317 MB / 0.6194 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.6179, allocations: 22.48 kB / 0.6194 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002053/0.62, allocations: 1.039 MB / 0.6204 GB, free: 12.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 3.436e-06/0.62, allocations: 0 / 0.6204 GB, free: 12.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.03399/0.654, allocations: 9.332 MB / 0.6295 GB, free: 3.398 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.6542, allocations: 119.8 kB / 0.6296 GB, free: 3.258 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/0.657, allocations: 1.018 MB / 0.6306 GB, free: 2.227 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004934/0.6575, allocations: 41.7 kB / 0.6307 GB, free: 2.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007054/0.6583, allocations: 0.5443 MB / 0.6312 GB, free: 1.629 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.6593, allocations: 370.5 kB / 0.6315 GB, free: 1.262 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.6596, allocations: 20 kB / 0.6316 GB, free: 1.242 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.6599, allocations: 353.9 kB / 0.6319 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.662, allocations: 0.76 MB / 0.6326 GB, free: 132 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.6641, allocations: 0.8984 MB / 0.6335 GB, free: 15.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01803/0.6821, allocations: 5.232 MB / 0.6386 GB, free: 9.875 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.6822, allocations: 0 / 0.6386 GB, free: 9.875 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01542/0.6976, allocations: 5.159 MB / 0.6437 GB, free: 4.691 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/0.6977, allocations: 60.97 kB / 0.6437 GB, free: 4.621 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.6978, allocations: 4 kB / 0.6437 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007031/0.7048, allocations: 2.147 MB / 0.6458 GB, free: 2.465 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.7062, allocations: 219.7 kB / 0.646 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/0.7287, allocations: 9.718 MB / 0.6555 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.7308, allocations: 235 kB / 0.6557 GB, free: 8.164 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/0.7311, allocations: 39.98 kB / 0.6558 GB, free: 8.125 MB / 458.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.00099/0.7321, allocations: 287.8 kB / 0.6561 GB, free: 7.828 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/0.7325, allocations: 130.4 kB / 0.6562 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/0.7481, allocations: 5.333 MB / 0.6614 GB, free: 2.332 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.7482, allocations: 8 kB / 0.6614 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.7482, allocations: 4 kB / 0.6614 GB, free: 2.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-05/0.7483, allocations: 3.984 kB / 0.6614 GB, free: 2.316 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02002/0.7683, allocations: 7.156 MB / 0.6684 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/0.7684, allocations: 4 kB / 0.6684 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/0.7694, allocations: 127.9 kB / 0.6685 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006928/0.7763, allocations: 2.215 MB / 0.6707 GB, free: 8.672 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003553/0.7768, allocations: 27.98 kB / 0.6707 GB, free: 8.645 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0246/0.8014, allocations: 10.66 MB / 0.6811 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.8014, allocations: 3.984 kB / 0.6811 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01954/0.821, allocations: 6.427 MB / 0.6874 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007254/0.8218, allocations: 223.2 kB / 0.6876 GB, free: 6.988 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006278/0.8224, allocations: 20 kB / 0.6876 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/0.8244, allocations: 183.8 kB / 0.6878 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/0.8255, allocations: 232.8 kB / 0.688 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002927/0.8259, allocations: 32 kB / 0.6881 GB, free: 6.531 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001752/0.8276, allocations: 0.6966 MB / 0.6887 GB, free: 5.828 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.555e-06/0.8277, allocations: 0 / 0.6887 GB, free: 5.828 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002465/0.8301, allocations: 491.3 kB / 0.6892 GB, free: 5.348 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.0005052/0.8306, allocations: 147.1 kB / 0.6893 GB, free: 5.195 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007993/0.8386, allocations: 2.843 MB / 0.6921 GB, free: 2.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8387, allocations: 64 / 0.6921 GB, free: 2.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005872/0.8446, allocations: 2.089 MB / 0.6942 GB, free: 192 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.8466, allocations: 128.5 kB / 0.6943 GB, free: 64 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006767/0.8534, allocations: 2.92 MB / 0.6971 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.8546, allocations: 1.159 MB / 0.6983 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008088/0.8555, allocations: 91.06 kB / 0.6984 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.8558, allocations: 63.36 kB / 0.6984 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.8558, allocations: 0 / 0.6984 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.269/1.125, allocations: 23.31 MB / 0.7212 GB, free: 155.2 MB / 0.4948 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)