Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00432/0.00432, allocations: 170.9 kB / 15.11 MB, free: 5.578 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.143/1.143, allocations: 223.2 MB / 239 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008231/0.0008231, allocations: 97.59 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.389/0.389, allocations: 78.52 MB / 419.8 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 12 kB / 499.7 MB, free: 2.777 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2874, allocations: 69.35 MB / 0.5557 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.3908, allocations: 98.86 MB / 0.6523 GB, free: 7.543 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.391, allocations: 71.97 kB / 0.6523 GB, free: 7.473 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05386/0.4449, allocations: 22.16 MB / 0.674 GB, free: 1.184 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4449, allocations: 0 / 0.674 GB, free: 1.184 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.511e-05/0.445, allocations: 20 kB / 0.674 GB, free: 1.164 MB / 474.7 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.003221/0.4482, allocations: 1.464 MB / 0.6754 GB, free: 15.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.4483, allocations: 16.03 kB / 0.6754 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.4503, allocations: 390.4 kB / 0.6758 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008049/0.4511, allocations: 0.6056 MB / 0.6764 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.4513, allocations: 158.3 kB / 0.6765 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.4514, allocations: 52.34 kB / 0.6766 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.4528, allocations: 0.8266 MB / 0.6774 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4529, allocations: 0 / 0.6774 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.4529, allocations: 20 kB / 0.6774 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4529, allocations: 12 kB / 0.6774 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.4542, allocations: 0.7313 MB / 0.6781 GB, free: 12.77 MB / 490.7 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.004398/0.4586, allocations: 2.884 MB / 0.681 GB, free: 9.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.4716, allocations: 3.911 MB / 0.6848 GB, free: 5.805 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.4717, allocations: 12.55 kB / 0.6848 GB, free: 5.793 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.4718, allocations: 47.06 kB / 0.6848 GB, free: 5.738 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.645e-06/0.4718, allocations: 0 / 0.6848 GB, free: 5.738 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01314/0.4849, allocations: 4.373 MB / 0.6891 GB, free: 1.293 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.485, allocations: 85.67 kB / 0.6892 GB, free: 1.191 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.4861, allocations: 0.676 MB / 0.6899 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.4862, allocations: 41.69 kB / 0.6899 GB, free: 468 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.4864, allocations: 384.7 kB / 0.6903 GB, free: 80 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.4866, allocations: 236.7 kB / 0.6905 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.4867, allocations: 12 kB / 0.6905 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.4868, allocations: 334 kB / 0.6908 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008645/0.4877, allocations: 473.8 kB / 0.6913 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/0.4886, allocations: 0.5568 MB / 0.6918 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/0.4895, allocations: 0.5037 MB / 0.6923 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4895, allocations: 4 kB / 0.6923 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006634/0.4961, allocations: 2.532 MB / 0.6948 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.4964, allocations: 0.7095 MB / 0.6955 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4964, allocations: 0 / 0.6955 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/0.5004, allocations: 1.191 MB / 0.6966 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.501, allocations: 103.9 kB / 0.6967 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009906/0.5109, allocations: 5.301 MB / 0.7019 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.512, allocations: 119.2 kB / 0.702 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.5121, allocations: 35.92 kB / 0.7021 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.5121, allocations: 5.562 kB / 0.7021 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006456/0.5186, allocations: 2.399 MB / 0.7044 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5186, allocations: 3.953 kB / 0.7044 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003914/0.5225, allocations: 1.191 MB / 0.7056 GB, free: 116 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/0.5231, allocations: 99.89 kB / 0.7057 GB, free: 16 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.5334, allocations: 5.281 MB / 0.7108 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.5349, allocations: 111.4 kB / 0.7109 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/0.5351, allocations: 24 kB / 0.711 GB, free: 10.47 MB / 0.5105 GB 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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008059/0.5359, allocations: 289 kB / 0.7112 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.5363, allocations: 86.88 kB / 0.7113 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007017/0.5433, allocations: 2.392 MB / 0.7136 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.5434, allocations: 11.95 kB / 0.7137 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.5434, allocations: 4 kB / 0.7137 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.5434, allocations: 3.984 kB / 0.7137 GB, free: 7.652 MB / 0.5105 GB 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.008331/0.5517, allocations: 3.674 MB / 0.7173 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5518, allocations: 0 / 0.7173 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.5523, allocations: 83.89 kB / 0.7173 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003321/0.5556, allocations: 1.077 MB / 0.7184 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.721e-05/0.5558, allocations: 19.98 kB / 0.7184 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008131/0.5639, allocations: 4.288 MB / 0.7226 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5639, allocations: 3.984 kB / 0.7226 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008093/0.572, allocations: 3.087 MB / 0.7256 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/0.5725, allocations: 187.9 kB / 0.7258 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.5727, allocations: 12 kB / 0.7258 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/0.5737, allocations: 79.94 kB / 0.7259 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/0.574, allocations: 128.3 kB / 0.726 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/0.5741, allocations: 16 kB / 0.726 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008126/0.5749, allocations: 0.5342 MB / 0.7265 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5749, allocations: 0 / 0.7265 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001616/0.5766, allocations: 491.3 kB / 0.727 GB, free: 9.691 MB / 0.5261 GB 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003181/0.5769, allocations: 147.2 kB / 0.7271 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007416/0.5843, allocations: 3.13 MB / 0.7302 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5843, allocations: 3.938 kB / 0.7302 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002921/0.5873, allocations: 1.252 MB / 0.7314 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.5881, allocations: 68.14 kB / 0.7315 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.5919, allocations: 2.142 MB / 0.7336 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.5925, allocations: 0.9945 MB / 0.7346 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003941/0.5929, allocations: 72.73 kB / 0.7346 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.5931, allocations: 47.38 kB / 0.7347 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/0.5931, allocations: 0 / 0.7347 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of Templates: time 0.02595/0.6191, allocations: 17.06 MB / 0.7513 GB, free: 0.6016 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)