Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_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.001101/0.001101, allocations: 116.5 kB / 16.42 MB, free: 6.512 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.001123/0.001123, allocations: 186.6 kB / 17.35 MB, free: 5.754 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.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.03892/0.03892, allocations: 8.027 MB / 299.2 MB, free: 6.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 72.08 kB / 413.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07885/0.08009, allocations: 51.18 MB / 464.9 MB, free: 3.078 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.01011/0.09024, allocations: 9.714 MB / 474.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004179/0.09443, allocations: 2.719 MB / 477.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005647/0.09501, allocations: 51.81 kB / 477.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000957/0.09597, allocations: 0.4925 MB / 477.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.0973, allocations: 0.7143 MB / 478.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.09818, allocations: 0.5383 MB / 479.2 MB, free: 4.793 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.002201/0.1004, allocations: 2.67 MB / 481.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.1026, allocations: 2.292 MB / 484.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.1039, allocations: 1.199 MB / 485.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.1055, allocations: 1.436 MB / 486.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004158/0.1059, allocations: 332 kB / 487.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007049/0.1066, allocations: 431.8 kB / 487.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008155/0.1075, allocations: 0.8649 MB / 488.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.1088, allocations: 1.42 MB / 489.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003714/0.1125, allocations: 4.149 MB / 493.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1125, allocations: 3.938 kB / 494 MB, free: 5.898 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1125, allocations: 0 / 494 MB, free: 5.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.934e-05/0.1125, allocations: 0 / 494 MB, free: 5.898 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.005198/0.1178, allocations: 2.968 MB / 496.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1178, allocations: 12.03 kB / 496.9 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006602/0.1185, allocations: 303.2 kB / 497.2 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.1206, allocations: 1.42 MB / 498.6 MB, free: 1.082 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.0002383/0.1209, allocations: 239.9 kB / 498.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.1212, allocations: 239.9 kB / 499.1 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004581/0.1258, allocations: 2.965 MB / 0.4903 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.915e-05/0.1259, allocations: 11.94 kB / 0.4903 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002109/0.1261, allocations: 96 kB / 0.4904 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.1262, allocations: 108.5 kB / 0.4905 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004215/0.1304, allocations: 2.376 MB / 0.4928 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/0.1423, allocations: 8.709 MB / 0.5013 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.1449, allocations: 1.64 MB / 0.5029 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1834/0.3284, allocations: 0.954 MB / 0.5039 GB, free: 44.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.3286, allocations: 124.3 kB / 0.504 GB, free: 44.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/0.33, allocations: 0.7832 MB / 0.5048 GB, free: 44.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.567e-06/0.33, allocations: 0.5625 kB / 0.5048 GB, free: 44.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01413/0.3442, allocations: 7.002 MB / 0.5116 GB, free: 41.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.3443, allocations: 248.9 kB / 0.5118 GB, free: 41.59 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.001974/0.3463, allocations: 1.197 MB / 0.513 GB, free: 41.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.292e-05/0.3464, allocations: 51.45 kB / 0.5131 GB, free: 41.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008018/0.3472, allocations: 1.036 MB / 0.5141 GB, free: 40.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.3475, allocations: 444.9 kB / 0.5145 GB, free: 40.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/0.3479, allocations: 266.7 kB / 0.5147 GB, free: 39.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.348, allocations: 305.7 kB / 0.515 GB, free: 39.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.3492, allocations: 0.7182 MB / 0.5157 GB, free: 39.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.3507, allocations: 1.134 MB / 0.5168 GB, free: 38.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008131/0.3588, allocations: 3.594 MB / 0.5204 GB, free: 37.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.3588, allocations: 2.75 kB / 0.5204 GB, free: 37.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004041/0.3629, allocations: 2.584 MB / 0.5229 GB, free: 35.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.3629, allocations: 33.52 kB / 0.5229 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.3629, allocations: 11.75 kB / 0.5229 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.364, allocations: 0.5056 MB / 0.5234 GB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009962/0.365, allocations: 300.1 kB / 0.5237 GB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/0.3707, allocations: 8.81 MB / 0.5323 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.372, allocations: 131.3 kB / 0.5324 GB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.941e-05/0.3721, allocations: 60.86 kB / 0.5325 GB, free: 28.11 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.001795/0.3739, allocations: 1.282 MB / 0.5337 GB, free: 27.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001064/0.375, allocations: 1.1 MB / 0.5348 GB, free: 26.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007113/0.3821, allocations: 3.528 MB / 0.5383 GB, free: 22.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.032e-06/0.3821, allocations: 9.875 kB / 0.5383 GB, free: 22.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003453/0.3856, allocations: 2.528 MB / 0.5407 GB, free: 19.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.3856, allocations: 37.69 kB / 0.5408 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3856, allocations: 12 kB / 0.5408 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009298/0.3866, allocations: 0.4962 MB / 0.5413 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009477/0.3875, allocations: 301.9 kB / 0.5416 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005562/0.3931, allocations: 8.801 MB / 0.5502 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.3945, allocations: 139.9 kB / 0.5503 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.777e-05/0.3946, allocations: 63.98 kB / 0.5504 GB, free: 9.352 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.0003894/0.395, allocations: 285.6 kB / 0.5506 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.3952, allocations: 147.8 kB / 0.5508 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/0.3985, allocations: 2.221 MB / 0.5529 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3985, allocations: 11.77 kB / 0.5529 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.3985, allocations: 7.984 kB / 0.553 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.399, allocations: 368 kB / 0.5533 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.3992, allocations: 40.11 kB / 0.5533 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008291/0.4001, allocations: 100.4 kB / 0.5534 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.4003, allocations: 104.8 kB / 0.5535 GB, free: 6.027 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.0008137/0.4011, allocations: 258.7 kB / 0.5538 GB, free: 5.777 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