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.001022/0.001022, allocations: 113.7 kB / 16.42 MB, free: 6.504 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.001014/0.001014, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04098/0.04098, allocations: 8.312 MB / 299.5 MB, free: 6.531 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.89 kB / 414.2 MB, free: 21.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0742/0.07541, allocations: 51.25 MB / 465.4 MB, free: 2.641 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.01035/0.08579, allocations: 9.732 MB / 475.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004917/0.09072, allocations: 2.704 MB / 477.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.0919, allocations: 51.81 kB / 477.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.09328, allocations: 0.4925 MB / 478.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.09531, allocations: 0.7142 MB / 479.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.09647, allocations: 0.5454 MB / 479.7 MB, free: 4.344 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.002581/0.09906, allocations: 2.666 MB / 482.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002271/0.1013, allocations: 2.304 MB / 484.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.1025, allocations: 1.195 MB / 485.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.104, allocations: 1.44 MB / 487.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003996/0.1044, allocations: 336 kB / 487.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.1051, allocations: 419.8 kB / 488 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000756/0.1058, allocations: 0.865 MB / 488.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.1071, allocations: 1.419 MB / 490.3 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.1107, allocations: 4.149 MB / 494.4 MB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1107, allocations: 3.938 kB / 494.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1107, allocations: 0 / 494.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.985e-05/0.1107, allocations: 0 / 494.4 MB, free: 5.449 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.005175/0.1159, allocations: 2.964 MB / 497.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.116, allocations: 12.02 kB / 497.4 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006596/0.1166, allocations: 299.2 kB / 497.7 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.1187, allocations: 1.432 MB / 499.1 MB, free: 0.6289 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.0002297/0.1189, allocations: 243.9 kB / 499.4 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003221/0.1193, allocations: 235.9 kB / 499.6 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004468/0.1237, allocations: 2.961 MB / 0.4908 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.104e-05/0.1238, allocations: 8 kB / 0.4908 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/0.124, allocations: 92 kB / 0.4909 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.1241, allocations: 104.5 kB / 0.491 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003986/0.1281, allocations: 2.379 MB / 0.4933 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.14, allocations: 8.713 MB / 0.5018 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1885/0.3285, allocations: 1.628 MB / 0.5034 GB, free: 44.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/0.3308, allocations: 0.9571 MB / 0.5044 GB, free: 44.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.331, allocations: 131.1 kB / 0.5045 GB, free: 44.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/0.3324, allocations: 0.7806 MB / 0.5052 GB, free: 43.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.096e-06/0.3325, allocations: 0 / 0.5052 GB, free: 43.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01419/0.3467, allocations: 6.999 MB / 0.5121 GB, free: 41.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.3467, allocations: 249.6 kB / 0.5123 GB, free: 40.94 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.001817/0.3486, allocations: 1.194 MB / 0.5135 GB, free: 40.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.751e-05/0.3487, allocations: 51.48 kB / 0.5135 GB, free: 40.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007841/0.3495, allocations: 1.04 MB / 0.5145 GB, free: 39.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.3498, allocations: 442.9 kB / 0.515 GB, free: 39.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.3502, allocations: 264.5 kB / 0.5152 GB, free: 39.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.3503, allocations: 306.6 kB / 0.5155 GB, free: 39.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.3515, allocations: 0.7196 MB / 0.5162 GB, free: 38.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.3529, allocations: 1.133 MB / 0.5173 GB, free: 38.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00828/0.3612, allocations: 3.604 MB / 0.5208 GB, free: 36.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.3613, allocations: 4.125 kB / 0.5208 GB, free: 36.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004102/0.3654, allocations: 2.571 MB / 0.5234 GB, free: 35.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.3654, allocations: 37.55 kB / 0.5234 GB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.3655, allocations: 11.78 kB / 0.5234 GB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.3665, allocations: 0.506 MB / 0.5239 GB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.3676, allocations: 301.5 kB / 0.5242 GB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005969/0.3736, allocations: 8.805 MB / 0.5328 GB, free: 27.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.3749, allocations: 127.8 kB / 0.5329 GB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.375, allocations: 64.84 kB / 0.533 GB, free: 27.39 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.001966/0.377, allocations: 1.289 MB / 0.5342 GB, free: 26.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001119/0.3781, allocations: 1.1 MB / 0.5353 GB, free: 25.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007182/0.3853, allocations: 3.539 MB / 0.5388 GB, free: 21.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.156e-06/0.3853, allocations: 4 kB / 0.5388 GB, free: 21.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003556/0.3889, allocations: 2.526 MB / 0.5412 GB, free: 18.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.3889, allocations: 41.69 kB / 0.5413 GB, free: 18.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.389, allocations: 12.94 kB / 0.5413 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009621/0.3899, allocations: 0.4947 MB / 0.5418 GB, free: 18.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/0.3909, allocations: 299.5 kB / 0.542 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005766/0.3967, allocations: 8.797 MB / 0.5506 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.3982, allocations: 139.9 kB / 0.5508 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3983, allocations: 63.98 kB / 0.5508 GB, free: 8.598 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.0004009/0.3987, allocations: 297.2 kB / 0.5511 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.3989, allocations: 143.1 kB / 0.5513 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/0.4023, allocations: 2.216 MB / 0.5534 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.4023, allocations: 11.92 kB / 0.5534 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4024, allocations: 0 / 0.5534 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/0.4029, allocations: 376 kB / 0.5538 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.4031, allocations: 31.98 kB / 0.5538 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008966/0.404, allocations: 101.2 kB / 0.5539 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.4043, allocations: 108.8 kB / 0.554 GB, free: 5.27 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.000865/0.4051, allocations: 258.5 kB / 0.5543 GB, free: 5.023 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