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.001264/0.001264, allocations: 168.8 kB / 16.1 MB, free: 5.691 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.43/1.43, allocations: 223.3 MB / 240.1 MB, free: 11.68 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.0008043/0.0008043, allocations: 85.36 kB / 291.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4567/0.4567, allocations: 78.62 MB / 421 MB, free: 9.086 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003862, allocations: 8 kB / 0.4894 GB, free: 9.289 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3468, allocations: 69.35 MB / 0.5571 GB, free: 18.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.003803/0.3506, allocations: 5.071 MB / 0.5621 GB, free: 13.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.3533, allocations: 1.774 MB / 0.5638 GB, free: 11.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003803/0.3538, allocations: 11.94 kB / 0.5638 GB, free: 11.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.3541, allocations: 123.2 kB / 0.5639 GB, free: 11.81 MB / 378.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.001196/0.3553, allocations: 0.585 MB / 0.5645 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.3561, allocations: 473.4 kB / 0.565 GB, free: 10.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007801/0.3569, allocations: 1.133 MB / 0.5661 GB, free: 9.629 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.3572, allocations: 210.8 kB / 0.5663 GB, free: 9.406 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003831/0.3576, allocations: 414 kB / 0.5667 GB, free: 9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004587/0.358, allocations: 0.5288 MB / 0.5672 GB, free: 8.469 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.288e-05/0.3581, allocations: 52 kB / 0.5672 GB, free: 8.418 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.3585, allocations: 179.9 kB / 0.5674 GB, free: 8.242 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3586, allocations: 191 kB / 0.5676 GB, free: 8.055 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.3589, allocations: 471 kB / 0.568 GB, free: 7.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.3595, allocations: 1.054 MB / 0.5691 GB, free: 6.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3596, allocations: 4 kB / 0.5691 GB, free: 6.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3596, allocations: 0 / 0.5691 GB, free: 6.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.3596, allocations: 0 / 0.5691 GB, free: 6.527 MB / 378.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.004539/0.3641, allocations: 1.706 MB / 0.5707 GB, free: 4.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3642, allocations: 11.97 kB / 0.5708 GB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.3672, allocations: 0.5304 MB / 0.5713 GB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008432/0.3681, allocations: 0.6935 MB / 0.5719 GB, free: 3.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.3683, allocations: 150.4 kB / 0.5721 GB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3684, allocations: 64 kB / 0.5722 GB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.3697, allocations: 0.8267 MB / 0.573 GB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3697, allocations: 0 / 0.573 GB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.3698, allocations: 20 kB / 0.573 GB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.3698, allocations: 12 kB / 0.573 GB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.371, allocations: 0.7351 MB / 0.5737 GB, free: 1.66 MB / 378.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.004622/0.3757, allocations: 2.96 MB / 0.5766 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.3885, allocations: 3.942 MB / 0.5804 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.3896, allocations: 0.5236 MB / 0.581 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.3897, allocations: 12.56 kB / 0.581 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3898, allocations: 39.12 kB / 0.581 GB, free: 9.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 3.266e-06/0.3898, allocations: 0 / 0.581 GB, free: 9.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.01248/0.4023, allocations: 4.246 MB / 0.5852 GB, free: 5.676 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.4024, allocations: 85.67 kB / 0.5852 GB, free: 5.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.4035, allocations: 0.7938 MB / 0.586 GB, free: 4.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.4037, allocations: 41.69 kB / 0.5861 GB, free: 4.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.404, allocations: 368.6 kB / 0.5864 GB, free: 4.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.4042, allocations: 240.6 kB / 0.5866 GB, free: 4.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.4044, allocations: 93.66 kB / 0.5867 GB, free: 4.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4045, allocations: 349.9 kB / 0.5871 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.4057, allocations: 0.5954 MB / 0.5876 GB, free: 3.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.4069, allocations: 0.7055 MB / 0.5883 GB, free: 2.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.4092, allocations: 1.225 MB / 0.5895 GB, free: 1.102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4092, allocations: 3.938 kB / 0.5895 GB, free: 1.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007638/0.4168, allocations: 2.872 MB / 0.5923 GB, free: 14.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.417, allocations: 143 kB / 0.5925 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.417, allocations: 4 kB / 0.5925 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004268/0.4212, allocations: 1.207 MB / 0.5936 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.4222, allocations: 167.8 kB / 0.5938 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.4325, allocations: 5.117 MB / 0.5988 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.4339, allocations: 139.2 kB / 0.5989 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/0.434, allocations: 35.98 kB / 0.599 GB, free: 7.227 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.434, allocations: 4 kB / 0.599 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007427/0.4414, allocations: 2.738 MB / 0.6016 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.4415, allocations: 7.938 kB / 0.6017 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004221/0.4457, allocations: 1.201 MB / 0.6028 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000949/0.4467, allocations: 167.7 kB / 0.603 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.4571, allocations: 5.1 MB / 0.608 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.4584, allocations: 127.2 kB / 0.6081 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.4585, allocations: 39.98 kB / 0.6081 GB, free: 13.69 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005294/0.459, allocations: 292.9 kB / 0.6084 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.4592, allocations: 86.97 kB / 0.6085 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006292/0.4655, allocations: 2.395 MB / 0.6108 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.4655, allocations: 8 kB / 0.6108 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4655, allocations: 7.938 kB / 0.6108 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4655, allocations: 7.984 kB / 0.6109 GB, free: 10.86 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.00789/0.4734, allocations: 3.666 MB / 0.6144 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4734, allocations: 0 / 0.6144 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/0.474, allocations: 87.95 kB / 0.6145 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003325/0.4774, allocations: 1.086 MB / 0.6156 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/0.4774, allocations: 15.98 kB / 0.6156 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008011/0.4855, allocations: 4.138 MB / 0.6196 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4855, allocations: 3.938 kB / 0.6196 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007442/0.4929, allocations: 3.068 MB / 0.6226 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.4933, allocations: 183.9 kB / 0.6228 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.4935, allocations: 16 kB / 0.6228 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007762/0.4943, allocations: 79.92 kB / 0.6229 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003581/0.4946, allocations: 124.3 kB / 0.623 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.4947, allocations: 20 kB / 0.623 GB, free: 14.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000715/0.4954, allocations: 0.5381 MB / 0.6236 GB, free: 13.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4954, allocations: 0 / 0.6236 GB, free: 13.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001452/0.4969, allocations: 0.5193 MB / 0.6241 GB, free: 13.04 MB / 442.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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002694/0.4971, allocations: 129.7 kB / 0.6242 GB, free: 12.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008187/0.5053, allocations: 3.542 MB / 0.6277 GB, free: 9.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.5054, allocations: 0 / 0.6277 GB, free: 9.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.5083, allocations: 1.264 MB / 0.6289 GB, free: 7.934 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009154/0.5092, allocations: 75.17 kB / 0.629 GB, free: 7.859 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.5129, allocations: 2.249 MB / 0.6312 GB, free: 5.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.5135, allocations: 0.9757 MB / 0.6321 GB, free: 4.566 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.5138, allocations: 59.42 kB / 0.6322 GB, free: 4.508 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5138, allocations: 0 / 0.6322 GB, free: 4.508 MB / 442.7 MB Notification: Performance of Templates: time 0.0272/0.541, allocations: 22.53 MB / 0.6542 GB, free: 13.95 MB / 474.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)