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.001045/0.001045, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.321/1.321, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008316/0.0008316, allocations: 99 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4255/0.4255, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/3.993e-05, allocations: 4 kB / 491.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2925, allocations: 69.35 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.4008, allocations: 98.79 MB / 0.6444 GB, free: 1.645 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.4011, allocations: 71.97 kB / 0.6445 GB, free: 1.574 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05773/0.4588, allocations: 22.1 MB / 0.6661 GB, free: 11.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4588, allocations: 0 / 0.6661 GB, free: 11.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.97e-05/0.4589, allocations: 16 kB / 0.6661 GB, free: 11.29 MB / 490.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.002906/0.4618, allocations: 1.254 MB / 0.6673 GB, free: 9.984 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4619, allocations: 15.97 kB / 0.6673 GB, free: 9.969 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.4641, allocations: 386.4 kB / 0.6677 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009924/0.4651, allocations: 0.6024 MB / 0.6683 GB, free: 8.945 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.4653, allocations: 150.4 kB / 0.6684 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.4654, allocations: 60.25 kB / 0.6685 GB, free: 8.723 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.4667, allocations: 0.6901 MB / 0.6692 GB, free: 8.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4667, allocations: 3.938 kB / 0.6692 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/0.4668, allocations: 20 kB / 0.6692 GB, free: 7.996 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4668, allocations: 12 kB / 0.6692 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/0.4677, allocations: 0.587 MB / 0.6698 GB, free: 7.395 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004929/0.4727, allocations: 2.87 MB / 0.6726 GB, free: 4.395 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.4863, allocations: 3.7 MB / 0.6762 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/0.487, allocations: 398.5 kB / 0.6766 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.701e-05/0.4871, allocations: 4.562 kB / 0.6766 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.4872, allocations: 43.12 kB / 0.6766 GB, free: 196 kB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.444e-06/0.4872, allocations: 0 / 0.6766 GB, free: 196 kB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.2559/0.7431, allocations: 1.937 MB / 0.6785 GB, free: 109 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.7432, allocations: 85.19 kB / 0.6786 GB, free: 108.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.7443, allocations: 0.6699 MB / 0.6792 GB, free: 108.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.7444, allocations: 36.58 kB / 0.6793 GB, free: 108.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.7446, allocations: 392.2 kB / 0.6796 GB, free: 108.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.7449, allocations: 232.7 kB / 0.6799 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.7449, allocations: 12.47 kB / 0.6799 GB, free: 108.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.745, allocations: 333.8 kB / 0.6802 GB, free: 108.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/0.7456, allocations: 343.6 kB / 0.6805 GB, free: 108.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.7463, allocations: 432.4 kB / 0.6809 GB, free: 108.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.747, allocations: 379.7 kB / 0.6813 GB, free: 108.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.747, allocations: 0.875 kB / 0.6813 GB, free: 108.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006639/0.7536, allocations: 2.177 MB / 0.6834 GB, free: 108 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.7538, allocations: 0.7023 MB / 0.6841 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.7538, allocations: 1.906 kB / 0.6841 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003964/0.7578, allocations: 0.9629 MB / 0.6851 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.7584, allocations: 113.7 kB / 0.6852 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006901/0.7653, allocations: 4.172 MB / 0.6892 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.7664, allocations: 124 kB / 0.6894 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/0.7665, allocations: 23.33 kB / 0.6894 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.7665, allocations: 3.969 kB / 0.6894 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005456/0.7719, allocations: 2.059 MB / 0.6914 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.772, allocations: 4.812 kB / 0.6914 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003304/0.7753, allocations: 0.9643 MB / 0.6923 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.7758, allocations: 106.2 kB / 0.6924 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/0.7823, allocations: 4.166 MB / 0.6965 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009543/0.7832, allocations: 110.3 kB / 0.6966 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.7833, allocations: 27.06 kB / 0.6966 GB, free: 102.3 MB / 490.7 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 () * 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.0001819/0.7835, allocations: 145.2 kB / 0.6968 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.7836, allocations: 85.75 kB / 0.6969 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005131/0.7888, allocations: 2.027 MB / 0.6988 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.7888, allocations: 7.781 kB / 0.6988 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7888, allocations: 3.781 kB / 0.6989 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.7888, allocations: 3.562 kB / 0.6989 GB, free: 101.6 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006205/0.795, allocations: 3.315 MB / 0.7021 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.795, allocations: 0 / 0.7021 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.7955, allocations: 77.52 kB / 0.7022 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/0.7981, allocations: 0.8605 MB / 0.703 GB, free: 99.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.7982, allocations: 11.91 kB / 0.703 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00486/0.8031, allocations: 3.367 MB / 0.7063 GB, free: 97.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8031, allocations: 4 kB / 0.7063 GB, free: 97.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/0.8086, allocations: 2.573 MB / 0.7088 GB, free: 95.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.8088, allocations: 190.3 kB / 0.709 GB, free: 95.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.8089, allocations: 12 kB / 0.709 GB, free: 95.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/0.8097, allocations: 81.2 kB / 0.7091 GB, free: 95.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.81, allocations: 124.4 kB / 0.7092 GB, free: 95.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.81, allocations: 19.75 kB / 0.7092 GB, free: 95.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00054/0.8106, allocations: 0.5204 MB / 0.7097 GB, free: 94.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8106, allocations: 0 / 0.7097 GB, free: 94.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00109/0.8117, allocations: 492.6 kB / 0.7102 GB, free: 94.07 MB / 490.7 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 () * 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.0002077/0.8119, allocations: 144.3 kB / 0.7103 GB, free: 93.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005664/0.8176, allocations: 2.772 MB / 0.7131 GB, free: 91.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8176, allocations: 0 / 0.7131 GB, free: 91.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002264/0.8199, allocations: 1.127 MB / 0.7142 GB, free: 90.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.8205, allocations: 63.11 kB / 0.7142 GB, free: 90.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.8229, allocations: 1.492 MB / 0.7157 GB, free: 88.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.8232, allocations: 0.9952 MB / 0.7166 GB, free: 87.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005013/0.8237, allocations: 113.2 kB / 0.7167 GB, free: 87.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.8239, allocations: 39.44 kB / 0.7168 GB, free: 87.82 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.8239, allocations: 0 / 0.7168 GB, free: 87.82 MB / 490.7 MB Notification: Performance of Templates: time 0.02205/0.8459, allocations: 18.44 MB / 0.7348 GB, free: 71.44 MB / 490.7 MB 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)