Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json 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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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) Running command: translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 112.6 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 186.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03922/0.03922, allocations: 8.036 MB / 299.2 MB, free: 6.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 413.8 MB, free: 22.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08291/0.08411, allocations: 51.18 MB / 464.9 MB, free: 3.094 MB / 334.1 MB [/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. [/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: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/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) 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: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: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:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) 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=3*(1 - sqrt(1 - 0.0667))/(2*pi*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=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) 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=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) 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: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:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/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. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01066/0.0948, allocations: 9.722 MB / 474.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005324/0.1001, allocations: 2.711 MB / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.1017, allocations: 51.81 kB / 477.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.1034, allocations: 0.5003 MB / 477.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.1059, allocations: 0.7065 MB / 478.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.1075, allocations: 0.5344 MB / 479.2 MB, free: 4.809 MB / 350.1 MB [/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/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. Notification: Performance of NFFlatten.flatten: time 0.003505/0.111, allocations: 2.682 MB / 481.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.1142, allocations: 2.296 MB / 484.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.116, allocations: 1.195 MB / 485.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.1185, allocations: 1.432 MB / 486.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008965/0.1194, allocations: 339.9 kB / 487.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.1207, allocations: 419.9 kB / 487.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.1218, allocations: 0.8649 MB / 488.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002291/0.1241, allocations: 1.42 MB / 489.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004784/0.1289, allocations: 4.14 MB / 493.9 MB, free: 5.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.129, allocations: 4 kB / 493.9 MB, free: 5.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.129, allocations: 0 / 493.9 MB, free: 5.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001435/0.1291, allocations: 0 / 493.9 MB, free: 5.918 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.006612/0.1357, allocations: 2.905 MB / 496.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1358, allocations: 8.031 kB / 496.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007089/0.1365, allocations: 289.8 kB / 497.1 MB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.139, allocations: 1.427 MB / 498.6 MB, free: 1.176 MB / 366.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.0002637/0.1393, allocations: 238.3 kB / 498.8 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003638/0.1396, allocations: 232 kB / 499 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005058/0.1447, allocations: 2.961 MB / 0.4902 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.483e-05/0.1448, allocations: 11.91 kB / 0.4902 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/0.145, allocations: 99.98 kB / 0.4903 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.1451, allocations: 108.5 kB / 0.4904 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/0.1493, allocations: 2.379 MB / 0.4927 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.1621, allocations: 8.678 MB / 0.5012 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.1649, allocations: 1.636 MB / 0.5028 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1849/0.3498, allocations: 0.9545 MB / 0.5038 GB, free: 44.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.3501, allocations: 132.3 kB / 0.5039 GB, free: 44.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/0.3515, allocations: 0.7767 MB / 0.5046 GB, free: 44.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.417e-06/0.3515, allocations: 1.75 kB / 0.5046 GB, free: 44.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01448/0.366, allocations: 6.936 MB / 0.5114 GB, free: 41.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.3661, allocations: 253.9 kB / 0.5117 GB, free: 41.62 MB / 382.1 MB [/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.3679, allocations: 1.196 MB / 0.5128 GB, free: 41.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.416e-05/0.368, allocations: 48.17 kB / 0.5129 GB, free: 41.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006788/0.3687, allocations: 1.011 MB / 0.5139 GB, free: 40.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.369, allocations: 420.1 kB / 0.5143 GB, free: 40 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004957/0.3695, allocations: 263.1 kB / 0.5145 GB, free: 39.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.3696, allocations: 310.1 kB / 0.5148 GB, free: 39.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3709, allocations: 0.7165 MB / 0.5155 GB, free: 39.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.3723, allocations: 1.139 MB / 0.5166 GB, free: 38.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008227/0.3806, allocations: 3.598 MB / 0.5201 GB, free: 36.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.3806, allocations: 7.219 kB / 0.5201 GB, free: 36.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004112/0.3847, allocations: 2.561 MB / 0.5226 GB, free: 35.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.3848, allocations: 38.7 kB / 0.5227 GB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.3848, allocations: 7.906 kB / 0.5227 GB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.3858, allocations: 0.5086 MB / 0.5232 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.3868, allocations: 303 kB / 0.5235 GB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/0.3927, allocations: 8.797 MB / 0.5321 GB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.3941, allocations: 131 kB / 0.5322 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.3943, allocations: 62.11 kB / 0.5322 GB, free: 28.05 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001934/0.3962, allocations: 1.292 MB / 0.5335 GB, free: 27.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001081/0.3973, allocations: 1.103 MB / 0.5346 GB, free: 26.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007296/0.4046, allocations: 3.535 MB / 0.538 GB, free: 22.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.374e-06/0.4046, allocations: 4 kB / 0.538 GB, free: 22.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003621/0.4083, allocations: 2.52 MB / 0.5405 GB, free: 19.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.4083, allocations: 37.69 kB / 0.5405 GB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4083, allocations: 12.31 kB / 0.5405 GB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009429/0.4093, allocations: 0.4952 MB / 0.541 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009577/0.4102, allocations: 305.9 kB / 0.5413 GB, free: 18.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005719/0.416, allocations: 8.787 MB / 0.5499 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.4174, allocations: 135.9 kB / 0.55 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/0.4175, allocations: 63.98 kB / 0.5501 GB, free: 9.434 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (155): * Single equations (assignments): 148 * 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.0004026/0.4179, allocations: 302.6 kB / 0.5504 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.4181, allocations: 146.3 kB / 0.5505 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/0.4215, allocations: 2.214 MB / 0.5527 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.4216, allocations: 7.922 kB / 0.5527 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4216, allocations: 4 kB / 0.5527 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005696/0.4221, allocations: 363.3 kB / 0.553 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.4223, allocations: 29.31 kB / 0.5531 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008881/0.4232, allocations: 108 kB / 0.5532 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.4235, allocations: 108.8 kB / 0.5533 GB, free: 6.117 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:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008342/0.4243, allocations: 250.5 kB / 0.5535 GB, free: 5.875 MB / 382.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing could not be translated