Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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/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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/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) 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 EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04245/0.04245, allocations: 8.021 MB / 24.16 MB, free: 408 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.000946, allocations: 99.75 kB / 26.72 MB, free: 3.297 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 191.4 kB / 29.41 MB, free: 0.6211 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 254.8 MB, free: 4.836 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01786/0.01786, allocations: 3.122 MB / 309.9 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 91.86 kB / 374.2 MB, free: 2.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1916, allocations: 51.98 MB / 426.2 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.00722/0.1989, allocations: 9.019 MB / 435.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.2021, allocations: 2.548 MB / 437.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004865/0.2026, allocations: 47.81 kB / 437.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007902/0.2034, allocations: 464.7 kB / 438.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009823/0.2044, allocations: 0.6443 MB / 438.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.205, allocations: 497.4 kB / 439.4 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.2064, allocations: 2.451 MB / 441.8 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.2079, allocations: 2.053 MB / 443.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007435/0.2086, allocations: 1.071 MB / 445 MB, free: 2.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000962/0.2096, allocations: 1.323 MB / 446.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002584/0.2099, allocations: 300 kB / 446.6 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.2103, allocations: 387.8 kB / 447 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005686/0.2109, allocations: 0.7831 MB / 447.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.212, allocations: 1.283 MB / 449 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.2148, allocations: 3.665 MB / 452.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2149, allocations: 0 / 452.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2149, allocations: 0 / 452.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.39e-05/0.2149, allocations: 0 / 452.7 MB, free: 10.8 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.004678/0.2196, allocations: 2.701 MB / 455.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2196, allocations: 8.031 kB / 455.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/0.2202, allocations: 262.1 kB / 455.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.2221, allocations: 1.282 MB / 456.9 MB, free: 6.434 MB / 318.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.2223, allocations: 223.4 kB / 457.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/0.2226, allocations: 211.9 kB / 457.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003898/0.2265, allocations: 2.691 MB / 460.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.2266, allocations: 3.984 kB / 460.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.2267, allocations: 84 kB / 460.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.2268, allocations: 99.98 kB / 460.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/0.2304, allocations: 2.213 MB / 462.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.2416, allocations: 7.953 MB / 470.4 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.2442, allocations: 1.589 MB / 472 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.2458, allocations: 0.94 MB / 472.9 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.246, allocations: 126 kB / 473.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/0.2472, allocations: 0.7733 MB / 473.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.565e-06/0.2473, allocations: 0 / 473.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01312/0.2604, allocations: 6.602 MB / 480.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.2605, allocations: 252.3 kB / 480.7 MB, free: 14.05 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.262, allocations: 1.196 MB / 481.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.001e-05/0.2621, allocations: 49.7 kB / 481.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006753/0.2628, allocations: 0.9193 MB / 482.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.2631, allocations: 402.2 kB / 483.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003926/0.2635, allocations: 258.7 kB / 483.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2636, allocations: 357.9 kB / 483.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.2648, allocations: 0.7054 MB / 484.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.2662, allocations: 1.085 MB / 485.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008158/0.2744, allocations: 3.57 MB / 489.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.2744, allocations: 4 kB / 489.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004004/0.2784, allocations: 2.519 MB / 491.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.2784, allocations: 37.7 kB / 491.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.2785, allocations: 8 kB / 491.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.2796, allocations: 0.5048 MB / 492.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.2806, allocations: 295.5 kB / 492.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007383/0.288, allocations: 8.8 MB / 0.4896 GB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.2892, allocations: 127.9 kB / 0.4897 GB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.2893, allocations: 48 kB / 0.4898 GB, free: 8.207 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001917/0.2913, allocations: 1.238 MB / 0.491 GB, free: 6.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00128/0.2926, allocations: 1.066 MB / 0.492 GB, free: 5.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007774/0.3003, allocations: 3.503 MB / 0.4954 GB, free: 2.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.933e-06/0.3004, allocations: 4 kB / 0.4955 GB, free: 2.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004093/0.3045, allocations: 2.469 MB / 0.4979 GB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.3045, allocations: 33.7 kB / 0.4979 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3045, allocations: 12.31 kB / 0.4979 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.3056, allocations: 0.5038 MB / 0.4984 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009754/0.3066, allocations: 291.5 kB / 0.4987 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007443/0.3141, allocations: 8.787 MB / 0.5073 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.3155, allocations: 131.9 kB / 0.5074 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.3156, allocations: 59.98 kB / 0.5074 GB, free: 5.168 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003962/0.316, allocations: 308.4 kB / 0.5077 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.3162, allocations: 138.3 kB / 0.5079 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.3199, allocations: 2.176 MB / 0.51 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.32, allocations: 7.969 kB / 0.51 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.32, allocations: 0 / 0.51 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/0.3205, allocations: 363.2 kB / 0.5103 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.3207, allocations: 35.98 kB / 0.5104 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008205/0.3215, allocations: 107.8 kB / 0.5105 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.3218, allocations: 104.8 kB / 0.5106 GB, free: 1.879 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (2): if logic.Tstar > logic.tauToDW.Tmax then logic.tauToDW.tauIsMax = true logic.tauToDW.Tmax = 3.0 * logic.tauToDW.Rr * logic.tauToDW.y * logic.tauToDW.Kw ^ 2.0 / ((/*Real*/(logic.tauToDW.pp) * logic.tauToDW.y * logic.tauToDW.Lstray) ^ 2.0 + logic.tauToDW.Rr ^ 2.0) elseif logic.Tstar < (-logic.tauToDW.Tmax) then logic.tauToDW.tauIsMax = true -logic.tauToDW.Tmax = 3.0 * logic.tauToDW.Rr * logic.tauToDW.y * logic.tauToDW.Kw ^ 2.0 / ((/*Real*/(logic.tauToDW.pp) * logic.tauToDW.y * logic.tauToDW.Lstray) ^ 2.0 + logic.tauToDW.Rr ^ 2.0) else logic.tauToDW.tauIsMax = false logic.Tstar = 3.0 * logic.tauToDW.Rr * logic.tauToDW.y * logic.tauToDW.Kw ^ 2.0 / ((/*Real*/(logic.tauToDW.pp) * logic.tauToDW.y * logic.tauToDW.Lstray) ^ 2.0 + logic.tauToDW.Rr ^ 2.0) end if Variables: 1: logic.tauToDW.tauIsMax:DISCRETE(flow=false ) type: Boolean 2: logic.tauToDW.y:VARIABLE(flow=false ) type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9746:5-9747:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008464/0.3226, allocations: 249.4 kB / 0.5108 GB, free: 1.637 MB / 382.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model EHPTexamples.ElectricDrives.tqFollowing could not be translated