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.0009108/0.0009107, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.391/1.391, allocations: 223.3 MB / 239 MB, free: 5.445 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.001012/0.001012, allocations: 184.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.527/0.527, allocations: 91.93 MB / 433.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 12 kB / 0.5042 GB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3416, allocations: 72.46 MB / 0.5749 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.003822/0.3454, allocations: 4.814 MB / 0.5796 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.3482, allocations: 1.673 MB / 0.5813 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.3488, allocations: 12.53 kB / 0.5813 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.3492, allocations: 119.5 kB / 0.5814 GB, free: 32.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.3505, allocations: 0.5347 MB / 0.5819 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008326/0.3513, allocations: 393.6 kB / 0.5823 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.3524, allocations: 1.065 MB / 0.5833 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.3527, allocations: 188.2 kB / 0.5835 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.3532, allocations: 406.5 kB / 0.5839 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.3538, allocations: 0.5175 MB / 0.5844 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.67e-05/0.3539, allocations: 50.03 kB / 0.5844 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.3543, allocations: 167.8 kB / 0.5846 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.3544, allocations: 190.4 kB / 0.5848 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.3546, allocations: 176.1 kB / 0.585 GB, free: 30.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007603/0.3553, allocations: 1.051 MB / 0.586 GB, free: 30.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3554, allocations: 0 / 0.586 GB, free: 30.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3554, allocations: 0.6562 kB / 0.586 GB, free: 30.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3554, allocations: 0 / 0.586 GB, free: 30.29 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.004759/0.3601, allocations: 1.726 MB / 0.5877 GB, free: 29.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3602, allocations: 8.188 kB / 0.5877 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.3635, allocations: 0.5287 MB / 0.5882 GB, free: 29.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3646, allocations: 0.6582 MB / 0.5888 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.3648, allocations: 153.5 kB / 0.589 GB, free: 28.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.365, allocations: 58.38 kB / 0.589 GB, free: 28.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.3665, allocations: 0.8226 MB / 0.5898 GB, free: 28.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.3665, allocations: 1.094 kB / 0.5898 GB, free: 28.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.3666, allocations: 24.22 kB / 0.5899 GB, free: 28.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.3666, allocations: 12.59 kB / 0.5899 GB, free: 28.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.368, allocations: 0.729 MB / 0.5906 GB, free: 28.17 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.004656/0.3726, allocations: 2.95 MB / 0.5935 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.385, allocations: 3.952 MB / 0.5973 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.3863, allocations: 0.5149 MB / 0.5978 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.474e-05/0.3864, allocations: 11.98 kB / 0.5978 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3864, allocations: 43.78 kB / 0.5979 GB, free: 25.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 4.128e-06/0.3864, allocations: 0 / 0.5979 GB, free: 25.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01274/0.3992, allocations: 4.232 MB / 0.602 GB, free: 24.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.3993, allocations: 85.11 kB / 0.6021 GB, free: 24.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4005, allocations: 0.7834 MB / 0.6029 GB, free: 23.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.4006, allocations: 40.45 kB / 0.6029 GB, free: 23.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.4009, allocations: 372.7 kB / 0.6033 GB, free: 23.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.4011, allocations: 240.7 kB / 0.6035 GB, free: 23.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.4012, allocations: 20.12 kB / 0.6035 GB, free: 23.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.4013, allocations: 355.2 kB / 0.6038 GB, free: 23.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.4024, allocations: 0.5832 MB / 0.6044 GB, free: 22.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.4037, allocations: 0.6975 MB / 0.6051 GB, free: 22.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.4049, allocations: 0.6266 MB / 0.6057 GB, free: 22.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.4049, allocations: 7.938 kB / 0.6057 GB, free: 22.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008004/0.4129, allocations: 2.857 MB / 0.6085 GB, free: 21.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.282e-05/0.413, allocations: 148.1 kB / 0.6086 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4131, allocations: 2.969 kB / 0.6086 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004385/0.4175, allocations: 1.197 MB / 0.6098 GB, free: 21.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.4185, allocations: 176.2 kB / 0.61 GB, free: 21.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.4288, allocations: 5.106 MB / 0.615 GB, free: 18.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.4303, allocations: 142.6 kB / 0.6151 GB, free: 18.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-05/0.4304, allocations: 35.97 kB / 0.6151 GB, free: 18.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.4304, allocations: 3.719 kB / 0.6151 GB, free: 18.3 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007238/0.4376, allocations: 2.726 MB / 0.6178 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.4377, allocations: 0.7969 kB / 0.6178 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003994/0.4417, allocations: 1.21 MB / 0.619 GB, free: 16.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/0.4427, allocations: 168.7 kB / 0.6192 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008807/0.4515, allocations: 5.105 MB / 0.6241 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.4527, allocations: 127.3 kB / 0.6243 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.4528, allocations: 32 kB / 0.6243 GB, free: 10.58 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 (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.0004677/0.4533, allocations: 292.9 kB / 0.6246 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.4535, allocations: 90.88 kB / 0.6247 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005643/0.4591, allocations: 2.391 MB / 0.627 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.4592, allocations: 12 kB / 0.627 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.4592, allocations: 8 kB / 0.627 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.4592, allocations: 3.984 kB / 0.627 GB, free: 7.754 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.007196/0.4664, allocations: 3.674 MB / 0.6306 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.4665, allocations: 64 / 0.6306 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005662/0.467, allocations: 83.89 kB / 0.6307 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002992/0.47, allocations: 1.085 MB / 0.6317 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.745e-05/0.4701, allocations: 15.95 kB / 0.6318 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007318/0.4775, allocations: 4.135 MB / 0.6358 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4775, allocations: 7.938 kB / 0.6358 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007673/0.4852, allocations: 3.052 MB / 0.6388 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.4856, allocations: 195.8 kB / 0.639 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.4859, allocations: 12 kB / 0.639 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009506/0.4869, allocations: 83.92 kB / 0.6391 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/0.4873, allocations: 120.3 kB / 0.6392 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.4873, allocations: 16 kB / 0.6392 GB, free: 10.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008213/0.4882, allocations: 0.5342 MB / 0.6397 GB, free: 10.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4882, allocations: 0 / 0.6397 GB, free: 10.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001928/0.4901, allocations: 0.5193 MB / 0.6402 GB, free: 9.938 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 (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.0002779/0.4904, allocations: 132.5 kB / 0.6403 GB, free: 9.801 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008383/0.4988, allocations: 3.523 MB / 0.6438 GB, free: 6.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.4989, allocations: 0 / 0.6438 GB, free: 6.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002955/0.5018, allocations: 1.271 MB / 0.645 GB, free: 4.836 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.5029, allocations: 68.52 kB / 0.6451 GB, free: 4.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.5068, allocations: 2.148 MB / 0.6472 GB, free: 2.586 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.5074, allocations: 0.9835 MB / 0.6482 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005722/0.508, allocations: 89.47 kB / 0.6482 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.5082, allocations: 51.42 kB / 0.6483 GB, free: 1.434 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5082, allocations: 0 / 0.6483 GB, free: 1.434 MB / 446.1 MB Notification: Performance of Templates: time 0.03006/0.5383, allocations: 17.75 MB / 0.6656 GB, free: 15.72 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)