Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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 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_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001388/0.001388, allocations: 173.9 kB / 12.73 MB, free: 2.586 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.263/1.263, 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.0008133/0.0008132, allocations: 92.33 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.447/0.447, allocations: 78.08 MB / 414.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.342e-05, allocations: 0 / 491.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3092, allocations: 69.34 MB / 0.548 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.4218, allocations: 98.78 MB / 0.6445 GB, free: 1.758 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.4221, allocations: 71.97 kB / 0.6445 GB, free: 1.688 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05857/0.4807, allocations: 22.09 MB / 0.6661 GB, free: 11.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4807, allocations: 0 / 0.6661 GB, free: 11.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.84e-05/0.4808, allocations: 16 kB / 0.6661 GB, free: 11.4 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.00314/0.4839, allocations: 1.26 MB / 0.6673 GB, free: 10.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.484, allocations: 15.97 kB / 0.6674 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.4862, allocations: 394.3 kB / 0.6677 GB, free: 9.695 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.4873, allocations: 0.6063 MB / 0.6683 GB, free: 9.047 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.4875, allocations: 150.4 kB / 0.6685 GB, free: 8.883 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.4876, allocations: 64.25 kB / 0.6685 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.4888, allocations: 0.6823 MB / 0.6692 GB, free: 8.125 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4888, allocations: 3.938 kB / 0.6692 GB, free: 8.121 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/0.4889, allocations: 27.98 kB / 0.6692 GB, free: 8.094 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.4889, allocations: 12 kB / 0.6692 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009882/0.4899, allocations: 0.5754 MB / 0.6698 GB, free: 7.504 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.004844/0.4948, allocations: 2.867 MB / 0.6726 GB, free: 4.512 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/0.5083, allocations: 3.712 MB / 0.6762 GB, free: 0.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007517/0.5091, allocations: 398.5 kB / 0.6766 GB, free: 368 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.5092, allocations: 12.55 kB / 0.6766 GB, free: 352 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.5093, allocations: 39.12 kB / 0.6767 GB, free: 304 kB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.916e-06/0.5093, allocations: 4 kB / 0.6767 GB, free: 300 kB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.2757/0.7849, allocations: 1.93 MB / 0.6785 GB, free: 109 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.785, allocations: 84.64 kB / 0.6786 GB, free: 108.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.7863, allocations: 0.6723 MB / 0.6793 GB, free: 108.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.236e-05/0.7864, allocations: 39.05 kB / 0.6793 GB, free: 108.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.7867, allocations: 387.3 kB / 0.6797 GB, free: 108.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.787, allocations: 226.5 kB / 0.6799 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.787, allocations: 14 kB / 0.6799 GB, free: 108.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.7871, allocations: 333.5 kB / 0.6802 GB, free: 108.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006201/0.7877, allocations: 338.8 kB / 0.6806 GB, free: 108.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.7884, allocations: 443.2 kB / 0.681 GB, free: 108.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.7891, allocations: 377.5 kB / 0.6813 GB, free: 108.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.7891, allocations: 1.703 kB / 0.6813 GB, free: 108.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006675/0.7958, allocations: 2.169 MB / 0.6835 GB, free: 108 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.7959, allocations: 0.7063 MB / 0.6842 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.7959, allocations: 1.844 kB / 0.6842 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003928/0.7999, allocations: 0.9643 MB / 0.6851 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.8004, allocations: 106 kB / 0.6852 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006882/0.8073, allocations: 4.176 MB / 0.6893 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009583/0.8083, allocations: 124.3 kB / 0.6894 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/0.8084, allocations: 27.25 kB / 0.6894 GB, free: 105.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.8084, allocations: 3.906 kB / 0.6894 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005337/0.8137, allocations: 2.062 MB / 0.6914 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8138, allocations: 3.656 kB / 0.6914 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003199/0.817, allocations: 0.9587 MB / 0.6924 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.8175, allocations: 105.1 kB / 0.6925 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00664/0.8241, allocations: 4.167 MB / 0.6965 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/0.8251, allocations: 111.8 kB / 0.6967 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/0.8252, allocations: 26.31 kB / 0.6967 GB, free: 102.4 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.000199/0.8254, allocations: 142.9 kB / 0.6968 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.8256, allocations: 91.97 kB / 0.6969 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005226/0.8308, allocations: 2.021 MB / 0.6989 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.8308, allocations: 7.875 kB / 0.6989 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.8309, allocations: 3.969 kB / 0.6989 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.8309, allocations: 0 / 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.006557/0.8374, allocations: 3.314 MB / 0.7021 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.8375, allocations: 2.438 kB / 0.7021 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.838, allocations: 86.17 kB / 0.7022 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002521/0.8405, allocations: 0.8509 MB / 0.703 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.8406, allocations: 11.84 kB / 0.703 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004959/0.8455, allocations: 3.365 MB / 0.7063 GB, free: 97.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8456, allocations: 0 / 0.7063 GB, free: 97.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005479/0.851, allocations: 2.576 MB / 0.7089 GB, free: 95.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.8513, allocations: 194.9 kB / 0.709 GB, free: 95.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.8514, allocations: 12 kB / 0.709 GB, free: 95.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007851/0.8522, allocations: 85.39 kB / 0.7091 GB, free: 95.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/0.8525, allocations: 121 kB / 0.7092 GB, free: 95.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.8525, allocations: 19.19 kB / 0.7093 GB, free: 95.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005493/0.8531, allocations: 0.5222 MB / 0.7098 GB, free: 94.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.8531, allocations: 96 / 0.7098 GB, free: 94.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001145/0.8543, allocations: 493.3 kB / 0.7102 GB, free: 94.23 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.0002462/0.8545, allocations: 151.5 kB / 0.7104 GB, free: 94.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005931/0.8605, allocations: 2.766 MB / 0.7131 GB, free: 91.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8605, allocations: 0 / 0.7131 GB, free: 91.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.8627, allocations: 1.124 MB / 0.7142 GB, free: 90.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.8632, allocations: 66.72 kB / 0.7143 GB, free: 90.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.8657, allocations: 1.482 MB / 0.7157 GB, free: 88.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.866, allocations: 1 MB / 0.7167 GB, free: 88.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005212/0.8666, allocations: 122.3 kB / 0.7168 GB, free: 88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.8667, allocations: 35.44 kB / 0.7168 GB, free: 87.97 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.8667, allocations: 0 / 0.7168 GB, free: 87.97 MB / 490.7 MB Notification: Performance of Templates: time 0.02426/0.891, allocations: 18.44 MB / 0.7348 GB, free: 71.61 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)