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.0007693/0.0007694, allocations: 180 kB / 15.45 MB, free: 6.227 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.193/1.193, allocations: 223.3 MB / 239.5 MB, free: 1.605 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.0007052/0.0007049, allocations: 89.25 kB / 290.7 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4199/0.4199, allocations: 78.62 MB / 420.4 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003315, allocations: 12 kB / 0.4888 GB, free: 2.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2846, allocations: 69.35 MB / 0.5565 GB, free: 38.95 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.003925/0.2886, allocations: 5.076 MB / 0.5615 GB, free: 37 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.291, allocations: 1.764 MB / 0.5632 GB, free: 36.28 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.2913, allocations: 7.25 kB / 0.5632 GB, free: 36.28 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.2916, allocations: 132 kB / 0.5633 GB, free: 36.23 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.00114/0.2928, allocations: 0.5809 MB / 0.5639 GB, free: 35.97 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.2936, allocations: 475.5 kB / 0.5643 GB, free: 35.88 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.2946, allocations: 1.136 MB / 0.5654 GB, free: 35.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.2949, allocations: 217.2 kB / 0.5657 GB, free: 35.53 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004591/0.2954, allocations: 414.3 kB / 0.5661 GB, free: 35.35 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.2959, allocations: 0.5299 MB / 0.5666 GB, free: 35.11 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.2961, allocations: 49.22 kB / 0.5666 GB, free: 35.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.2964, allocations: 179.9 kB / 0.5668 GB, free: 35.07 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.2965, allocations: 189.9 kB / 0.567 GB, free: 34.96 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.2968, allocations: 476.3 kB / 0.5674 GB, free: 34.65 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008539/0.2977, allocations: 1.299 MB / 0.5687 GB, free: 34.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2977, allocations: 0 / 0.5687 GB, free: 34.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2977, allocations: 0 / 0.5687 GB, free: 34.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.2977, allocations: 4 kB / 0.5687 GB, free: 34.2 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.004179/0.3019, allocations: 1.713 MB / 0.5704 GB, free: 33.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.302, allocations: 12.84 kB / 0.5704 GB, free: 33.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/0.3049, allocations: 0.5333 MB / 0.5709 GB, free: 33.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007092/0.3056, allocations: 0.6905 MB / 0.5716 GB, free: 32.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.3057, allocations: 149.8 kB / 0.5717 GB, free: 32.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/0.3058, allocations: 60.38 kB / 0.5718 GB, free: 32.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.3071, allocations: 0.8278 MB / 0.5726 GB, free: 32.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3071, allocations: 0 / 0.5726 GB, free: 32.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.3071, allocations: 21.91 kB / 0.5726 GB, free: 32.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.3072, allocations: 13.25 kB / 0.5726 GB, free: 32.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.3083, allocations: 0.7347 MB / 0.5733 GB, free: 32.02 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.003865/0.3122, allocations: 2.944 MB / 0.5762 GB, free: 30.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/0.3236, allocations: 3.945 MB / 0.5801 GB, free: 29.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007888/0.3244, allocations: 0.5193 MB / 0.5806 GB, free: 29.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.022e-05/0.3244, allocations: 10.5 kB / 0.5806 GB, free: 29.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.3245, allocations: 41.88 kB / 0.5806 GB, free: 29.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=64): time 1.914e-06/0.3245, allocations: 0 / 0.5806 GB, free: 29.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.01072/0.3352, allocations: 4.248 MB / 0.5848 GB, free: 28.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.3352, allocations: 82.86 kB / 0.5848 GB, free: 28.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007864/0.336, allocations: 0.7922 MB / 0.5856 GB, free: 27.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.886e-05/0.3361, allocations: 44.55 kB / 0.5857 GB, free: 27.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.3363, allocations: 374.5 kB / 0.586 GB, free: 27.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.3364, allocations: 239.3 kB / 0.5862 GB, free: 27.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3365, allocations: 96.48 kB / 0.5863 GB, free: 27.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.3366, allocations: 346 kB / 0.5867 GB, free: 26.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009562/0.3376, allocations: 0.5889 MB / 0.5872 GB, free: 26.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.3386, allocations: 0.7028 MB / 0.5879 GB, free: 26.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.3405, allocations: 1.236 MB / 0.5891 GB, free: 25.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3405, allocations: 0 / 0.5891 GB, free: 25.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.006902/0.3474, allocations: 2.871 MB / 0.5919 GB, free: 24.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.3474, allocations: 139.9 kB / 0.5921 GB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3475, allocations: 8.797 kB / 0.5921 GB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003846/0.3513, allocations: 1.206 MB / 0.5933 GB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/0.3521, allocations: 169.7 kB / 0.5934 GB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008927/0.3611, allocations: 5.124 MB / 0.5984 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.3621, allocations: 138.8 kB / 0.5986 GB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.522e-05/0.3622, allocations: 34.44 kB / 0.5986 GB, free: 21.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/0.3622, allocations: 4.562 kB / 0.5986 GB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006864/0.3691, allocations: 2.738 MB / 0.6013 GB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3691, allocations: 2.031 kB / 0.6013 GB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003952/0.3731, allocations: 1.197 MB / 0.6024 GB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007891/0.3739, allocations: 166.3 kB / 0.6026 GB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009079/0.383, allocations: 5.102 MB / 0.6076 GB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/0.384, allocations: 128.7 kB / 0.6077 GB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.3841, allocations: 35.17 kB / 0.6077 GB, free: 18.08 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.0003641/0.3844, allocations: 299.2 kB / 0.608 GB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.3846, allocations: 84.5 kB / 0.6081 GB, free: 17.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005939/0.3905, allocations: 2.395 MB / 0.6104 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3905, allocations: 6.906 kB / 0.6105 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3906, allocations: 8.781 kB / 0.6105 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.3906, allocations: 11.55 kB / 0.6105 GB, free: 17.1 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.006965/0.3975, allocations: 3.674 MB / 0.6141 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3976, allocations: 0 / 0.6141 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/0.398, allocations: 83.05 kB / 0.6141 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002959/0.401, allocations: 1.088 MB / 0.6152 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.4011, allocations: 12.52 kB / 0.6152 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006467/0.4076, allocations: 4.145 MB / 0.6193 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4076, allocations: 0 / 0.6193 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006085/0.4137, allocations: 3.068 MB / 0.6223 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4138, allocations: 188.3 kB / 0.6224 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.4139, allocations: 12 kB / 0.6224 GB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/0.4146, allocations: 75.94 kB / 0.6225 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.4149, allocations: 128.3 kB / 0.6226 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.415, allocations: 19.94 kB / 0.6227 GB, free: 5.543 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005021/0.4155, allocations: 0.5381 MB / 0.6232 GB, free: 5.012 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4155, allocations: 0 / 0.6232 GB, free: 5.012 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001188/0.4167, allocations: 0.5189 MB / 0.6237 GB, free: 4.492 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.0001676/0.4168, allocations: 128 kB / 0.6238 GB, free: 4.359 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006479/0.4233, allocations: 3.551 MB / 0.6273 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4233, allocations: 0 / 0.6273 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002462/0.4258, allocations: 1.26 MB / 0.6285 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006037/0.4264, allocations: 72 kB / 0.6286 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.4295, allocations: 2.218 MB / 0.6307 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.43, allocations: 0.9757 MB / 0.6317 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004179/0.4304, allocations: 93.45 kB / 0.6318 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.4306, allocations: 51.42 kB / 0.6318 GB, free: 11.92 MB / 442.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4306, allocations: 0 / 0.6318 GB, free: 11.92 MB / 442.7 MB Notification: Performance of Templates: time 0.02455/0.4552, allocations: 18.24 MB / 0.6496 GB, free: 9.734 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)