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.008294/0.008294, allocations: 170.5 kB / 15.12 MB, free: 6.035 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.316/1.316, allocations: 223.2 MB / 239 MB, free: 1.773 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.00086/0.0008599, allocations: 95.06 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.437/0.437, allocations: 78.58 MB / 419.9 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 16 kB / 499.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4, allocations: 69.34 MB / 0.5558 GB, free: 38.91 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.00476/0.4048, allocations: 4.552 MB / 0.5602 GB, free: 38.59 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.4084, allocations: 1.71 MB / 0.5619 GB, free: 37.57 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.4091, allocations: 7.188 kB / 0.5619 GB, free: 37.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.4095, allocations: 126.8 kB / 0.562 GB, free: 37.51 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001521/0.411, allocations: 0.5659 MB / 0.5626 GB, free: 37.13 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000993/0.412, allocations: 397 kB / 0.5629 GB, free: 36.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.4132, allocations: 0.7331 MB / 0.5637 GB, free: 36.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.4135, allocations: 196.8 kB / 0.5638 GB, free: 36.42 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005023/0.414, allocations: 400.3 kB / 0.5642 GB, free: 36.25 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000638/0.4147, allocations: 0.5055 MB / 0.5647 GB, free: 36.03 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.4148, allocations: 53.72 kB / 0.5648 GB, free: 36.03 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.4152, allocations: 161.4 kB / 0.5649 GB, free: 35.99 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.4154, allocations: 184.7 kB / 0.5651 GB, free: 35.89 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.4155, allocations: 176.9 kB / 0.5653 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009089/0.4164, allocations: 1.028 MB / 0.5663 GB, free: 35.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.4164, allocations: 0 / 0.5663 GB, free: 35.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4164, allocations: 0 / 0.5663 GB, free: 35.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.4165, allocations: 1.281 kB / 0.5663 GB, free: 35.49 MB / 426.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.005219/0.4217, allocations: 1.723 MB / 0.568 GB, free: 34.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4217, allocations: 8.75 kB / 0.568 GB, free: 34.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.425, allocations: 0.5272 MB / 0.5685 GB, free: 34.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.4261, allocations: 0.6534 MB / 0.5691 GB, free: 34.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.4262, allocations: 164.4 kB / 0.5693 GB, free: 33.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.4264, allocations: 57.78 kB / 0.5693 GB, free: 33.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.4278, allocations: 0.8227 MB / 0.5701 GB, free: 33.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4278, allocations: 0 / 0.5701 GB, free: 33.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.4279, allocations: 22.59 kB / 0.5702 GB, free: 33.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4279, allocations: 9.531 kB / 0.5702 GB, free: 33.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.4291, allocations: 0.7327 MB / 0.5709 GB, free: 33.34 MB / 426.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.004465/0.4336, allocations: 3.048 MB / 0.5739 GB, free: 31.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/0.4465, allocations: 3.938 MB / 0.5777 GB, free: 30.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.4467, allocations: 13.3 kB / 0.5777 GB, free: 30.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.4467, allocations: 41.69 kB / 0.5778 GB, free: 30.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=64): time 3.136e-06/0.4467, allocations: 2.938 kB / 0.5778 GB, free: 30.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.01222/0.4589, allocations: 4.228 MB / 0.5819 GB, free: 29.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.459, allocations: 82.89 kB / 0.582 GB, free: 29.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.4601, allocations: 0.7854 MB / 0.5827 GB, free: 29.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.4602, allocations: 39.8 kB / 0.5828 GB, free: 29.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.4605, allocations: 374.6 kB / 0.5831 GB, free: 28.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.4607, allocations: 237.4 kB / 0.5834 GB, free: 28.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.4607, allocations: 18.5 kB / 0.5834 GB, free: 28.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.4608, allocations: 346.3 kB / 0.5837 GB, free: 28.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.4618, allocations: 0.5821 MB / 0.5843 GB, free: 28.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.4629, allocations: 0.6965 MB / 0.5849 GB, free: 27.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.464, allocations: 0.6301 MB / 0.5856 GB, free: 27.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.464, allocations: 6.594 kB / 0.5856 GB, free: 27.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007475/0.4715, allocations: 2.856 MB / 0.5884 GB, free: 26.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.4717, allocations: 0.7077 MB / 0.5891 GB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4717, allocations: 3 kB / 0.5891 GB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004497/0.4763, allocations: 1.197 MB / 0.5902 GB, free: 25.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000967/0.4772, allocations: 169.9 kB / 0.5904 GB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.4879, allocations: 5.314 MB / 0.5956 GB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.4894, allocations: 135.2 kB / 0.5957 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.4897, allocations: 35.22 kB / 0.5957 GB, free: 22.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4897, allocations: 4.125 kB / 0.5957 GB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007897/0.4976, allocations: 2.73 MB / 0.5984 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4976, allocations: 1.031 kB / 0.5984 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004423/0.5021, allocations: 1.202 MB / 0.5996 GB, free: 21.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.5031, allocations: 178.7 kB / 0.5998 GB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.5144, allocations: 5.309 MB / 0.6049 GB, free: 19.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.5159, allocations: 125.2 kB / 0.6051 GB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.5161, allocations: 34.05 kB / 0.6051 GB, free: 19.09 MB / 426.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 () * 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.000568/0.5166, allocations: 296.1 kB / 0.6054 GB, free: 18.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.5169, allocations: 91.94 kB / 0.6055 GB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007172/0.5241, allocations: 2.391 MB / 0.6078 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.5242, allocations: 6.781 kB / 0.6078 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.5242, allocations: 4.812 kB / 0.6078 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.5242, allocations: 7.281 kB / 0.6078 GB, free: 18.12 MB / 426.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 postOpt removeSimpleEquations (simulation): time 0.0089/0.5331, allocations: 3.666 MB / 0.6114 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5331, allocations: 0 / 0.6114 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.5337, allocations: 87.53 kB / 0.6115 GB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003438/0.5372, allocations: 1.087 MB / 0.6125 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.629e-05/0.5373, allocations: 13.17 kB / 0.6125 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00795/0.5452, allocations: 4.307 MB / 0.6168 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5452, allocations: 0 / 0.6168 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007129/0.5524, allocations: 3.091 MB / 0.6198 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/0.5528, allocations: 187.8 kB / 0.62 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.5531, allocations: 12 kB / 0.62 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/0.554, allocations: 83.89 kB / 0.62 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003386/0.5543, allocations: 128.4 kB / 0.6202 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.5544, allocations: 19.98 kB / 0.6202 GB, free: 7.465 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006779/0.5551, allocations: 0.5264 MB / 0.6207 GB, free: 6.945 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5551, allocations: 0 / 0.6207 GB, free: 6.945 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00174/0.5568, allocations: 0.5306 MB / 0.6212 GB, free: 6.414 MB / 426.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 () * 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.0002125/0.5571, allocations: 116 kB / 0.6213 GB, free: 6.293 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00773/0.5648, allocations: 3.528 MB / 0.6248 GB, free: 2.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5648, allocations: 448 / 0.6248 GB, free: 2.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.5676, allocations: 1.263 MB / 0.626 GB, free: 1.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.5682, allocations: 63.25 kB / 0.6261 GB, free: 1.277 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.5722, allocations: 2.142 MB / 0.6282 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.5728, allocations: 0.9874 MB / 0.6291 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005336/0.5734, allocations: 93.45 kB / 0.6292 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.5736, allocations: 55.42 kB / 0.6293 GB, free: 13.94 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5736, allocations: 3.938 kB / 0.6293 GB, free: 13.94 MB / 442.7 MB Notification: Performance of Templates: time 0.02997/0.6036, allocations: 17.72 MB / 0.6466 GB, free: 12.26 MB / 458.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)