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.001494/0.001494, allocations: 175.8 kB / 16.07 MB, free: 5.73 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.401/1.401, allocations: 222.9 MB / 239.7 MB, free: 10.21 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.0007223/0.0007223, allocations: 85.92 kB / 290.4 MB, free: 11.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.44/0.44, allocations: 78.42 MB / 419.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 8.219 kB / 499.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2754, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.004822/0.2803, allocations: 5.507 MB / 0.5599 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.2829, allocations: 1.79 MB / 0.5616 GB, free: 12.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003546/0.2833, allocations: 4 kB / 0.5616 GB, free: 12.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.2836, allocations: 127.2 kB / 0.5618 GB, free: 12.78 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.001165/0.2848, allocations: 0.6024 MB / 0.5623 GB, free: 12.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.2855, allocations: 466.8 kB / 0.5628 GB, free: 11.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006922/0.2862, allocations: 1.129 MB / 0.5639 GB, free: 10.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.2865, allocations: 214.8 kB / 0.5641 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.2868, allocations: 414 kB / 0.5645 GB, free: 9.953 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.2872, allocations: 0.5327 MB / 0.565 GB, free: 9.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.949e-05/0.2873, allocations: 48 kB / 0.5651 GB, free: 9.371 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.2876, allocations: 179.9 kB / 0.5652 GB, free: 9.195 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.2878, allocations: 195 kB / 0.5654 GB, free: 9.004 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.288, allocations: 445.3 kB / 0.5658 GB, free: 8.566 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.2887, allocations: 1.058 MB / 0.5669 GB, free: 7.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2887, allocations: 4 kB / 0.5669 GB, free: 7.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2887, allocations: 0 / 0.5669 GB, free: 7.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.2887, allocations: 0 / 0.5669 GB, free: 7.504 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.004508/0.2932, allocations: 1.659 MB / 0.5685 GB, free: 5.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2933, allocations: 8.031 kB / 0.5685 GB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.2963, allocations: 0.5265 MB / 0.569 GB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000772/0.2971, allocations: 0.7052 MB / 0.5697 GB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.2973, allocations: 138.4 kB / 0.5698 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.2974, allocations: 60 kB / 0.5699 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.2986, allocations: 0.7837 MB / 0.5707 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2986, allocations: 0 / 0.5707 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.2987, allocations: 20 kB / 0.5707 GB, free: 3.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2987, allocations: 16 kB / 0.5707 GB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.2998, allocations: 0.6882 MB / 0.5714 GB, free: 2.781 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.003971/0.3038, allocations: 2.901 MB / 0.5742 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.3158, allocations: 2.964 MB / 0.5771 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.3169, allocations: 490.3 kB / 0.5776 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.828e-05/0.317, allocations: 16.55 kB / 0.5776 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.317, allocations: 35.12 kB / 0.5776 GB, free: 12.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 2.404e-06/0.317, allocations: 0 / 0.5776 GB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.01174/0.3288, allocations: 3.562 MB / 0.5811 GB, free: 8.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.3288, allocations: 85.67 kB / 0.5812 GB, free: 8.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3299, allocations: 0.7977 MB / 0.5819 GB, free: 7.652 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-05/0.33, allocations: 37.7 kB / 0.582 GB, free: 7.609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.3302, allocations: 372.5 kB / 0.5823 GB, free: 7.242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.3305, allocations: 240.6 kB / 0.5826 GB, free: 7.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3306, allocations: 97.59 kB / 0.5827 GB, free: 6.902 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3307, allocations: 345.9 kB / 0.583 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.3318, allocations: 0.5447 MB / 0.5835 GB, free: 6.016 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.3329, allocations: 0.6625 MB / 0.5842 GB, free: 5.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.3351, allocations: 1.15 MB / 0.5853 GB, free: 4.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3351, allocations: 0 / 0.5853 GB, free: 4.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007258/0.3424, allocations: 2.512 MB / 0.5877 GB, free: 1.621 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.929e-05/0.3425, allocations: 143 kB / 0.5879 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3425, allocations: 0 / 0.5879 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004095/0.3466, allocations: 1.046 MB / 0.5889 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/0.3475, allocations: 171.8 kB / 0.5891 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009707/0.3572, allocations: 4.722 MB / 0.5937 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.3585, allocations: 115.2 kB / 0.5938 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.069e-05/0.3586, allocations: 35.98 kB / 0.5938 GB, free: 11.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.3586, allocations: 7.938 kB / 0.5938 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006926/0.3655, allocations: 2.391 MB / 0.5962 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3656, allocations: 4 kB / 0.5962 GB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003993/0.3696, allocations: 1.042 MB / 0.5972 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009025/0.3705, allocations: 171.7 kB / 0.5974 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009638/0.3801, allocations: 4.71 MB / 0.602 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.3813, allocations: 111.2 kB / 0.6021 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.75e-05/0.3814, allocations: 31.98 kB / 0.6021 GB, free: 2.602 MB / 410.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.0004384/0.3819, allocations: 296.9 kB / 0.6024 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.382, allocations: 82.97 kB / 0.6025 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005932/0.388, allocations: 2.043 MB / 0.6044 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.388, allocations: 8 kB / 0.6045 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.388, allocations: 7.938 kB / 0.6045 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.388, allocations: 3.984 kB / 0.6045 GB, free: 132 kB / 410.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.007722/0.3958, allocations: 3.299 MB / 0.6077 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.3958, allocations: 0 / 0.6077 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.3964, allocations: 83.89 kB / 0.6078 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003667/0.4, allocations: 0.9413 MB / 0.6087 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.68e-05/0.4001, allocations: 12 kB / 0.6087 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007832/0.408, allocations: 3.802 MB / 0.6124 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.408, allocations: 0 / 0.6124 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007195/0.4152, allocations: 2.666 MB / 0.615 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.4156, allocations: 175.9 kB / 0.6152 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.4157, allocations: 19.98 kB / 0.6152 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/0.4165, allocations: 59.94 kB / 0.6153 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003559/0.4169, allocations: 120.3 kB / 0.6154 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.4169, allocations: 16 kB / 0.6154 GB, free: 4.648 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006646/0.4176, allocations: 0.5381 MB / 0.6159 GB, free: 4.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4176, allocations: 0 / 0.6159 GB, free: 4.117 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00141/0.419, allocations: 0.5228 MB / 0.6164 GB, free: 3.594 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 (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.0002487/0.4193, allocations: 131.2 kB / 0.6166 GB, free: 3.457 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007629/0.4269, allocations: 3.234 MB / 0.6197 GB, free: 112 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.4269, allocations: 0 / 0.6197 GB, free: 112 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002856/0.4298, allocations: 1.135 MB / 0.6208 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/0.4307, allocations: 70.25 kB / 0.6209 GB, free: 14.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.4341, allocations: 2.125 MB / 0.623 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.4347, allocations: 0.9796 MB / 0.6239 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.435, allocations: 55.42 kB / 0.624 GB, free: 11.63 MB / 442.7 MB Notification: Performance of SimCode: time 4.1e-07/0.435, allocations: 0 / 0.624 GB, free: 11.63 MB / 442.7 MB Notification: Performance of Templates: time 0.0252/0.4602, allocations: 22.53 MB / 0.646 GB, free: 5.066 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)