Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001023, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001018, allocations: 176.5 kB / 291.3 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5115/0.5115, allocations: 91.92 MB / 434.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 12 kB / 0.5054 GB, free: 7.242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3221, allocations: 72.47 MB / 0.5762 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.003886/0.326, allocations: 5.104 MB / 0.5812 GB, free: 33.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.3283, allocations: 1.766 MB / 0.5829 GB, free: 32.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.3285, allocations: 8.562 kB / 0.5829 GB, free: 32.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.3288, allocations: 125.3 kB / 0.583 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.3299, allocations: 0.589 MB / 0.5836 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.3306, allocations: 464.5 kB / 0.584 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007428/0.3313, allocations: 1.14 MB / 0.5851 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.3316, allocations: 204.3 kB / 0.5853 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.332, allocations: 416.8 kB / 0.5857 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.3324, allocations: 0.5287 MB / 0.5863 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.959e-05/0.3325, allocations: 51.28 kB / 0.5863 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.3328, allocations: 183.9 kB / 0.5865 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.333, allocations: 187.8 kB / 0.5867 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.3333, allocations: 475.2 kB / 0.5871 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.3339, allocations: 1.058 MB / 0.5881 GB, free: 29.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.3339, allocations: 0 / 0.5881 GB, free: 29.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3339, allocations: 0 / 0.5881 GB, free: 29.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3339, allocations: 0.6562 kB / 0.5881 GB, free: 29.56 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004843/0.3388, allocations: 1.709 MB / 0.5898 GB, free: 28.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3388, allocations: 9.625 kB / 0.5898 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003289/0.3421, allocations: 0.5278 MB / 0.5903 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007882/0.3429, allocations: 0.6955 MB / 0.591 GB, free: 28.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.3431, allocations: 154.1 kB / 0.5912 GB, free: 28.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.3432, allocations: 61.72 kB / 0.5912 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.3447, allocations: 0.8293 MB / 0.592 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3448, allocations: 3.984 kB / 0.592 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.3448, allocations: 20.88 kB / 0.5921 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.3449, allocations: 12.31 kB / 0.5921 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.3463, allocations: 0.7324 MB / 0.5928 GB, free: 27.39 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004322/0.3506, allocations: 2.946 MB / 0.5957 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/0.365, allocations: 3.952 MB / 0.5995 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.3661, allocations: 0.5201 MB / 0.6 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/0.3662, allocations: 11.7 kB / 0.6 GB, free: 24.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.3662, allocations: 42.52 kB / 0.6001 GB, free: 24.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.335e-06/0.3662, allocations: 0 / 0.6001 GB, free: 24.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01374/0.38, allocations: 4.246 MB / 0.6042 GB, free: 23.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3801, allocations: 84.55 kB / 0.6043 GB, free: 23.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.3812, allocations: 0.7905 MB / 0.6051 GB, free: 23.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/0.3813, allocations: 40.95 kB / 0.6051 GB, free: 23.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.3815, allocations: 372.4 kB / 0.6055 GB, free: 22.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.3817, allocations: 241.1 kB / 0.6057 GB, free: 22.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.3818, allocations: 93.55 kB / 0.6058 GB, free: 22.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.3819, allocations: 350 kB / 0.6061 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.383, allocations: 0.5891 MB / 0.6067 GB, free: 22.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.3843, allocations: 0.7043 MB / 0.6074 GB, free: 21.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.3866, allocations: 1.232 MB / 0.6086 GB, free: 21.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3866, allocations: 1.781 kB / 0.6086 GB, free: 21.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008222/0.3948, allocations: 2.868 MB / 0.6114 GB, free: 20.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.398e-05/0.3949, allocations: 147.6 kB / 0.6115 GB, free: 20.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3949, allocations: 2.156 kB / 0.6115 GB, free: 20.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004763/0.3997, allocations: 1.195 MB / 0.6127 GB, free: 19.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009666/0.4007, allocations: 180.8 kB / 0.6129 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.4112, allocations: 5.116 MB / 0.6179 GB, free: 17.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.4126, allocations: 145.8 kB / 0.618 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/0.4127, allocations: 34.64 kB / 0.618 GB, free: 17.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.4127, allocations: 5.188 kB / 0.618 GB, free: 17.17 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007637/0.4204, allocations: 2.73 MB / 0.6207 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.4204, allocations: 7.938 kB / 0.6207 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004484/0.4249, allocations: 1.209 MB / 0.6219 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/0.4257, allocations: 167.8 kB / 0.6221 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009378/0.4351, allocations: 5.101 MB / 0.627 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.4364, allocations: 127.2 kB / 0.6272 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.4365, allocations: 35.98 kB / 0.6272 GB, free: 8.703 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004314/0.4369, allocations: 292.9 kB / 0.6275 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.437, allocations: 94.89 kB / 0.6276 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006356/0.4434, allocations: 2.395 MB / 0.6299 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4434, allocations: 8 kB / 0.6299 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.4434, allocations: 7.938 kB / 0.6299 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.4434, allocations: 3.984 kB / 0.6299 GB, free: 5.871 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007591/0.451, allocations: 3.674 MB / 0.6335 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4511, allocations: 4 kB / 0.6335 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/0.4516, allocations: 79.89 kB / 0.6336 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003255/0.4549, allocations: 1.093 MB / 0.6347 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/0.4549, allocations: 12 kB / 0.6347 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008345/0.4633, allocations: 4.143 MB / 0.6387 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4633, allocations: 3.938 kB / 0.6387 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008139/0.4715, allocations: 3.06 MB / 0.6417 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.4718, allocations: 187.9 kB / 0.6419 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.472, allocations: 12 kB / 0.6419 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009546/0.473, allocations: 79.94 kB / 0.642 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/0.4733, allocations: 128.4 kB / 0.6421 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.4734, allocations: 16 kB / 0.6421 GB, free: 9.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007776/0.4742, allocations: 0.5381 MB / 0.6426 GB, free: 8.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4742, allocations: 4 kB / 0.6426 GB, free: 8.559 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001807/0.476, allocations: 0.5189 MB / 0.6431 GB, free: 8.039 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000266/0.4763, allocations: 123.2 kB / 0.6433 GB, free: 7.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00906/0.4853, allocations: 3.555 MB / 0.6467 GB, free: 4.242 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4854, allocations: 0 / 0.6467 GB, free: 4.242 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003027/0.4884, allocations: 1.259 MB / 0.648 GB, free: 2.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.4891, allocations: 74.09 kB / 0.648 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.4927, allocations: 2.245 MB / 0.6502 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.4933, allocations: 0.9796 MB / 0.6512 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.4935, allocations: 59.42 kB / 0.6512 GB, free: 15.5 MB / 462.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4936, allocations: 0 / 0.6512 GB, free: 15.5 MB / 462.1 MB Notification: Performance of Templates: time 0.02553/0.5191, allocations: 22.54 MB / 0.6733 GB, free: 8.949 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)