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.0009087/0.0009085, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.393/1.393, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001378/0.001379, allocations: 187.8 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4753/0.4753, allocations: 79.45 MB / 420.7 MB, free: 4.004 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 11.98 kB / 0.489 GB, free: 5.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1424, allocations: 69.52 MB / 0.5569 GB, free: 84 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.2454/0.3878, allocations: 4.562 MB / 0.5613 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.3907, allocations: 1.713 MB / 0.563 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.3911, allocations: 7.094 kB / 0.563 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.3914, allocations: 123 kB / 0.5631 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.3927, allocations: 0.5668 MB / 0.5637 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.3935, allocations: 384.5 kB / 0.564 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008559/0.3944, allocations: 0.737 MB / 0.5648 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.3947, allocations: 193.3 kB / 0.5649 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.3951, allocations: 400.8 kB / 0.5653 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005054/0.3956, allocations: 0.5145 MB / 0.5658 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.549e-05/0.3957, allocations: 49.16 kB / 0.5659 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.396, allocations: 157.7 kB / 0.566 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.3961, allocations: 183.5 kB / 0.5662 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.3963, allocations: 174.8 kB / 0.5664 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007799/0.3971, allocations: 1.03 MB / 0.5674 GB, free: 36.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.3971, allocations: 3.75 kB / 0.5674 GB, free: 36.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3971, allocations: 0 / 0.5674 GB, free: 36.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.3971, allocations: 0 / 0.5674 GB, free: 36.39 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.004698/0.4018, allocations: 1.722 MB / 0.5691 GB, free: 35.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.4018, allocations: 8.656 kB / 0.5691 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.405, allocations: 0.5305 MB / 0.5696 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000914/0.4059, allocations: 0.6654 MB / 0.5702 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.4061, allocations: 152.7 kB / 0.5704 GB, free: 35.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.4062, allocations: 55.72 kB / 0.5704 GB, free: 35.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.4076, allocations: 0.8208 MB / 0.5712 GB, free: 35.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4076, allocations: 0 / 0.5712 GB, free: 35.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/0.4077, allocations: 23.86 kB / 0.5713 GB, free: 35.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.4077, allocations: 14.75 kB / 0.5713 GB, free: 35.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.409, allocations: 0.7275 MB / 0.572 GB, free: 35.05 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.004109/0.4131, allocations: 3.05 MB / 0.575 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.4252, allocations: 3.942 MB / 0.5788 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.4254, allocations: 11.28 kB / 0.5788 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.4254, allocations: 38.75 kB / 0.5789 GB, free: 32.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.976e-06/0.4254, allocations: 0 / 0.5789 GB, free: 32.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01228/0.4377, allocations: 4.225 MB / 0.583 GB, free: 31.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.4378, allocations: 84.08 kB / 0.5831 GB, free: 31.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.439, allocations: 0.7873 MB / 0.5838 GB, free: 30.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.4391, allocations: 40.98 kB / 0.5839 GB, free: 30.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.4393, allocations: 367.8 kB / 0.5842 GB, free: 30.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.4395, allocations: 243.7 kB / 0.5845 GB, free: 30.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.4396, allocations: 24.72 kB / 0.5845 GB, free: 30.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.4397, allocations: 343.4 kB / 0.5848 GB, free: 30.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.4407, allocations: 0.5834 MB / 0.5854 GB, free: 29.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.4419, allocations: 0.6928 MB / 0.5861 GB, free: 29.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.443, allocations: 0.639 MB / 0.5867 GB, free: 29.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.443, allocations: 1.125 kB / 0.5867 GB, free: 29.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007503/0.4505, allocations: 2.856 MB / 0.5895 GB, free: 28.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.4507, allocations: 0.7054 MB / 0.5902 GB, free: 27.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4507, allocations: 3.016 kB / 0.5902 GB, free: 27.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00419/0.4549, allocations: 1.202 MB / 0.5913 GB, free: 27.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009637/0.4559, allocations: 172.1 kB / 0.5915 GB, free: 27.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.4659, allocations: 5.312 MB / 0.5967 GB, free: 24.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.4674, allocations: 142.6 kB / 0.5968 GB, free: 24.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/0.4675, allocations: 34.94 kB / 0.5969 GB, free: 24.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.4675, allocations: 3.75 kB / 0.5969 GB, free: 24.65 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007487/0.475, allocations: 2.728 MB / 0.5995 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.475, allocations: 3.438 kB / 0.5995 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004394/0.4794, allocations: 1.204 MB / 0.6007 GB, free: 23.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/0.4804, allocations: 166.5 kB / 0.6009 GB, free: 23.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.491, allocations: 5.299 MB / 0.606 GB, free: 20.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.4924, allocations: 130.1 kB / 0.6062 GB, free: 20.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.662e-05/0.4925, allocations: 34.58 kB / 0.6062 GB, free: 20.84 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.0005041/0.493, allocations: 288.9 kB / 0.6065 GB, free: 20.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.4932, allocations: 88.38 kB / 0.6066 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006921/0.5001, allocations: 2.396 MB / 0.6089 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5002, allocations: 10.12 kB / 0.6089 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.5002, allocations: 5.094 kB / 0.6089 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.5002, allocations: 5.016 kB / 0.6089 GB, free: 19.88 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.008934/0.5092, allocations: 3.678 MB / 0.6125 GB, free: 18.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.5092, allocations: 6.062 kB / 0.6125 GB, free: 18.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.5097, allocations: 87.47 kB / 0.6126 GB, free: 18.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003286/0.513, allocations: 1.082 MB / 0.6137 GB, free: 17.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-05/0.5131, allocations: 16.66 kB / 0.6137 GB, free: 17.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007492/0.5206, allocations: 4.305 MB / 0.6179 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.5207, allocations: 3.938 kB / 0.6179 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007442/0.5281, allocations: 3.084 MB / 0.6209 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.5285, allocations: 183.8 kB / 0.6211 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.5287, allocations: 19.98 kB / 0.6211 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/0.5295, allocations: 83.89 kB / 0.6212 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/0.5298, allocations: 120.3 kB / 0.6213 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.5298, allocations: 19.98 kB / 0.6213 GB, free: 10.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005613/0.5304, allocations: 0.5342 MB / 0.6218 GB, free: 9.703 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5304, allocations: 0 / 0.6218 GB, free: 9.703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001444/0.5319, allocations: 0.5267 MB / 0.6223 GB, free: 9.176 MB / 430.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.0002133/0.5321, allocations: 118.8 kB / 0.6224 GB, free: 9.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007089/0.5392, allocations: 3.535 MB / 0.6259 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5392, allocations: 0 / 0.6259 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.5418, allocations: 1.267 MB / 0.6271 GB, free: 4.102 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.5424, allocations: 59.25 kB / 0.6272 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.5454, allocations: 2.141 MB / 0.6293 GB, free: 1.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.5457, allocations: 0.9951 MB / 0.6303 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000405/0.5461, allocations: 89.78 kB / 0.6303 GB, free: 0.793 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.5463, allocations: 55.42 kB / 0.6304 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5463, allocations: 4 kB / 0.6304 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of Templates: time 0.02697/0.5733, allocations: 17.73 MB / 0.6477 GB, free: 15.24 MB / 462.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)