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.0008613/0.0008616, allocations: 90.83 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001039/0.001039, allocations: 179.4 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.544/0.544, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 12 kB / 0.5048 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3888, allocations: 72.47 MB / 0.5755 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.004633/0.3934, allocations: 5.104 MB / 0.5805 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.3972, allocations: 1.771 MB / 0.5822 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004999/0.3977, allocations: 8.75 kB / 0.5822 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.3982, allocations: 118.9 kB / 0.5824 GB, free: 32.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.3997, allocations: 0.5949 MB / 0.5829 GB, free: 31.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009906/0.4007, allocations: 458.5 kB / 0.5834 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.4021, allocations: 1.134 MB / 0.5845 GB, free: 31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004273/0.4026, allocations: 210 kB / 0.5847 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006534/0.4032, allocations: 414 kB / 0.5851 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006699/0.4039, allocations: 0.5342 MB / 0.5856 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.404, allocations: 49.88 kB / 0.5856 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.4045, allocations: 181.9 kB / 0.5858 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.4047, allocations: 186.2 kB / 0.586 GB, free: 30.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004231/0.4051, allocations: 473.1 kB / 0.5864 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.4063, allocations: 1.307 MB / 0.5877 GB, free: 29.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4063, allocations: 6.562 kB / 0.5877 GB, free: 29.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4063, allocations: 1.75 kB / 0.5877 GB, free: 29.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4063, allocations: 0 / 0.5877 GB, free: 29.58 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.005134/0.4115, allocations: 1.713 MB / 0.5894 GB, free: 28.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.4115, allocations: 10.91 kB / 0.5894 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/0.415, allocations: 0.5304 MB / 0.5899 GB, free: 28.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.4161, allocations: 0.6893 MB / 0.5906 GB, free: 28.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.4163, allocations: 154.7 kB / 0.5908 GB, free: 28.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.4164, allocations: 61.39 kB / 0.5908 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.4181, allocations: 0.824 MB / 0.5916 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4181, allocations: 1.219 kB / 0.5916 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.4182, allocations: 19.75 kB / 0.5916 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.4182, allocations: 12.5 kB / 0.5916 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.4197, allocations: 0.738 MB / 0.5924 GB, free: 27.41 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.005595/0.4254, allocations: 2.944 MB / 0.5952 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01466/0.44, allocations: 3.953 MB / 0.5991 GB, free: 25.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.4415, allocations: 0.5243 MB / 0.5996 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.37e-05/0.4416, allocations: 11.5 kB / 0.5996 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.4417, allocations: 40.33 kB / 0.5997 GB, free: 24.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 3.697e-06/0.4417, allocations: 0 / 0.5997 GB, free: 24.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01412/0.4558, allocations: 4.24 MB / 0.6038 GB, free: 23.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.4559, allocations: 85.23 kB / 0.6039 GB, free: 23.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.4572, allocations: 0.7944 MB / 0.6047 GB, free: 23.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.4573, allocations: 36.45 kB / 0.6047 GB, free: 23.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.4575, allocations: 372.6 kB / 0.6051 GB, free: 22.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.4578, allocations: 247.9 kB / 0.6053 GB, free: 22.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.4579, allocations: 94.52 kB / 0.6054 GB, free: 22.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.458, allocations: 351 kB / 0.6057 GB, free: 22.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.4592, allocations: 0.5843 MB / 0.6063 GB, free: 22.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.4605, allocations: 0.7054 MB / 0.607 GB, free: 21.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.4628, allocations: 1.234 MB / 0.6082 GB, free: 21.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.4628, allocations: 0.9375 kB / 0.6082 GB, free: 21.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00839/0.4712, allocations: 2.869 MB / 0.611 GB, free: 20.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/0.4713, allocations: 144.3 kB / 0.6111 GB, free: 20.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.4713, allocations: 7.062 kB / 0.6111 GB, free: 20.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004855/0.4762, allocations: 1.194 MB / 0.6123 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.4773, allocations: 172.5 kB / 0.6125 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.4882, allocations: 5.116 MB / 0.6175 GB, free: 17.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4897, allocations: 143.3 kB / 0.6176 GB, free: 17.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/0.4898, allocations: 38.98 kB / 0.6176 GB, free: 17.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.4899, allocations: 4.906 kB / 0.6176 GB, free: 17.19 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007513/0.4974, allocations: 2.74 MB / 0.6203 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4974, allocations: 0 / 0.6203 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004119/0.5015, allocations: 1.209 MB / 0.6215 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008885/0.5025, allocations: 167.8 kB / 0.6216 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009057/0.5115, allocations: 5.097 MB / 0.6266 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.5128, allocations: 135.2 kB / 0.6268 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-05/0.5129, allocations: 35.98 kB / 0.6268 GB, free: 8.504 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.0004927/0.5134, allocations: 296.9 kB / 0.6271 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.5136, allocations: 82.97 kB / 0.6272 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006229/0.5198, allocations: 2.403 MB / 0.6295 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.5198, allocations: 8 kB / 0.6295 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.5198, allocations: 7.938 kB / 0.6295 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5199, allocations: 3.984 kB / 0.6295 GB, free: 5.672 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.007695/0.5276, allocations: 3.678 MB / 0.6331 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.5276, allocations: 0 / 0.6331 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.5282, allocations: 79.89 kB / 0.6332 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003234/0.5315, allocations: 1.093 MB / 0.6343 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.5316, allocations: 16 kB / 0.6343 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008495/0.5401, allocations: 4.133 MB / 0.6383 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5402, allocations: 0 / 0.6383 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00843/0.5486, allocations: 3.072 MB / 0.6413 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.549, allocations: 183.9 kB / 0.6415 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.5492, allocations: 12 kB / 0.6415 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008974/0.5501, allocations: 88.02 kB / 0.6416 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003574/0.5505, allocations: 120.3 kB / 0.6417 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.5505, allocations: 19.98 kB / 0.6417 GB, free: 8.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006852/0.5512, allocations: 0.5342 MB / 0.6422 GB, free: 8.359 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5512, allocations: 0 / 0.6422 GB, free: 8.359 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00156/0.5528, allocations: 0.5228 MB / 0.6427 GB, free: 7.832 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.0002603/0.5531, allocations: 123.2 kB / 0.6429 GB, free: 7.703 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008639/0.5617, allocations: 3.555 MB / 0.6463 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.5618, allocations: 448 / 0.6463 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003229/0.565, allocations: 1.275 MB / 0.6476 GB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/0.566, allocations: 68.86 kB / 0.6476 GB, free: 2.641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.5697, allocations: 2.225 MB / 0.6498 GB, free: 400 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.5703, allocations: 0.9718 MB / 0.6508 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000454/0.5707, allocations: 89.45 kB / 0.6508 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.571, allocations: 55.42 kB / 0.6509 GB, free: 15.25 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.571, allocations: 0 / 0.6509 GB, free: 15.25 MB / 462.1 MB Notification: Performance of Templates: time 0.02979/0.6008, allocations: 18.23 MB / 0.6687 GB, free: 13.06 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)