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-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_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.001053/0.001053, allocations: 110.3 kB / 16.41 MB, free: 6.477 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.001029/0.001029, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0413/0.0413, allocations: 8.35 MB / 299.6 MB, free: 6.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.91 kB / 414.2 MB, free: 21.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07421/0.07541, allocations: 51.26 MB / 465.5 MB, free: 2.562 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.01044/0.08587, allocations: 9.722 MB / 475.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004503/0.09039, allocations: 2.707 MB / 477.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009793/0.09138, allocations: 51.81 kB / 478 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.09257, allocations: 0.5003 MB / 478.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.0942, allocations: 0.6987 MB / 479.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009393/0.09515, allocations: 0.5422 MB / 479.7 MB, free: 4.277 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.002185/0.09735, allocations: 2.672 MB / 482.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.09955, allocations: 2.3 MB / 484.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.1006, allocations: 1.199 MB / 485.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.102, allocations: 1.436 MB / 487.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003506/0.1023, allocations: 336 kB / 487.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005574/0.1029, allocations: 423.8 kB / 488.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007138/0.1036, allocations: 0.861 MB / 488.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.1048, allocations: 1.42 MB / 490.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.1081, allocations: 4.153 MB / 494.5 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1081, allocations: 4 kB / 494.5 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1081, allocations: 0 / 494.5 MB, free: 5.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.1081, allocations: 0 / 494.5 MB, free: 5.379 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.004839/0.113, allocations: 2.972 MB / 497.5 MB, free: 2.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.113, allocations: 8.031 kB / 497.5 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006394/0.1137, allocations: 299.2 kB / 497.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.1157, allocations: 1.432 MB / 499.2 MB, free: 0.5547 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.0002241/0.1159, allocations: 235.9 kB / 499.4 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.1162, allocations: 239.9 kB / 499.7 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004326/0.1205, allocations: 2.965 MB / 0.4908 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.385e-05/0.1206, allocations: 4 kB / 0.4908 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/0.1208, allocations: 96 kB / 0.4909 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.954e-05/0.1209, allocations: 108.5 kB / 0.491 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003922/0.1249, allocations: 2.376 MB / 0.4934 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.1362, allocations: 8.713 MB / 0.5019 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1686/0.3048, allocations: 1.631 MB / 0.5035 GB, free: 43.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.3071, allocations: 0.9587 MB / 0.5044 GB, free: 43.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/0.3073, allocations: 128.5 kB / 0.5045 GB, free: 43.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/0.3088, allocations: 0.7833 MB / 0.5053 GB, free: 43.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.657e-06/0.3089, allocations: 0 / 0.5053 GB, free: 43.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01517/0.324, allocations: 7.004 MB / 0.5121 GB, free: 40.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.3241, allocations: 245.9 kB / 0.5124 GB, free: 40.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.001923/0.326, allocations: 1.199 MB / 0.5135 GB, free: 40.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/0.3261, allocations: 47.61 kB / 0.5136 GB, free: 40.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007186/0.3269, allocations: 1.04 MB / 0.5146 GB, free: 39.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.3271, allocations: 445.2 kB / 0.515 GB, free: 39.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004049/0.3276, allocations: 268.3 kB / 0.5153 GB, free: 39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.317e-05/0.3276, allocations: 305.1 kB / 0.5156 GB, free: 38.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.3289, allocations: 0.7199 MB / 0.5163 GB, free: 38.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.3303, allocations: 1.129 MB / 0.5174 GB, free: 37.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00887/0.3392, allocations: 3.597 MB / 0.5209 GB, free: 36.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.3392, allocations: 7.031 kB / 0.5209 GB, free: 36.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004149/0.3434, allocations: 2.575 MB / 0.5234 GB, free: 35.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.3434, allocations: 37.53 kB / 0.5234 GB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.3434, allocations: 15.88 kB / 0.5235 GB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.3445, allocations: 0.4967 MB / 0.5239 GB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.3456, allocations: 307.2 kB / 0.5242 GB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005947/0.3515, allocations: 8.802 MB / 0.5328 GB, free: 27.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.3528, allocations: 134.6 kB / 0.533 GB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.3529, allocations: 63.27 kB / 0.533 GB, free: 27.08 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.0017/0.3546, allocations: 1.277 MB / 0.5343 GB, free: 26.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001107/0.3557, allocations: 1.107 MB / 0.5353 GB, free: 25.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007548/0.3633, allocations: 3.529 MB / 0.5388 GB, free: 21.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/0.3633, allocations: 6.109 kB / 0.5388 GB, free: 21.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003542/0.3668, allocations: 2.536 MB / 0.5413 GB, free: 18.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3669, allocations: 33.7 kB / 0.5413 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3669, allocations: 12 kB / 0.5413 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00099/0.3679, allocations: 0.4924 MB / 0.5418 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009909/0.3689, allocations: 299.5 kB / 0.5421 GB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005722/0.3746, allocations: 8.807 MB / 0.5507 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3759, allocations: 131.9 kB / 0.5508 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.329e-05/0.376, allocations: 67.98 kB / 0.5509 GB, free: 8.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.0003561/0.3764, allocations: 292 kB / 0.5512 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.3766, allocations: 147.1 kB / 0.5513 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/0.3801, allocations: 2.219 MB / 0.5535 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.3801, allocations: 7.922 kB / 0.5535 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3801, allocations: 0 / 0.5535 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/0.3807, allocations: 372 kB / 0.5538 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.3809, allocations: 37.31 kB / 0.5539 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009163/0.3818, allocations: 103.9 kB / 0.554 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.382, allocations: 104.8 kB / 0.5541 GB, free: 5.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.0008549/0.3829, allocations: 255.3 kB / 0.5543 GB, free: 4.781 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