Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04305/0.04305, allocations: 8.355 MB / 24.66 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 101.9 kB / 27.32 MB, free: 2.762 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 187 kB / 30.09 MB, free: 4 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 255.6 MB, free: 4.277 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01343/0.01343, allocations: 3.131 MB / 310.7 MB, free: 1.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 91.86 kB / 428.3 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08125/0.08301, allocations: 52.04 MB / 480.4 MB, free: 13.01 MB / 350.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(EHPTexamples.ElectricDrives.wFollowing): time 0.0103/0.09334, allocations: 9.168 MB / 489.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004774/0.09814, allocations: 2.649 MB / 492.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.09918, allocations: 47.81 kB / 492.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.1005, allocations: 464.6 kB / 492.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.1025, allocations: 0.6833 MB / 493.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.1037, allocations: 0.5061 MB / 493.9 MB, free: 15.45 MB / 366.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.002746/0.1064, allocations: 2.498 MB / 496.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.1088, allocations: 2.057 MB / 498.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.1102, allocations: 1.106 MB / 499.6 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.1121, allocations: 1.331 MB / 0.4891 GB, free: 8.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005779/0.1127, allocations: 300 kB / 0.4894 GB, free: 8.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009319/0.1136, allocations: 399.8 kB / 0.4898 GB, free: 7.684 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009018/0.1145, allocations: 0.7986 MB / 0.4906 GB, free: 6.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.1163, allocations: 1.295 MB / 0.4919 GB, free: 5.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003812/0.1202, allocations: 3.76 MB / 0.4955 GB, free: 1.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1202, allocations: 0 / 0.4955 GB, free: 1.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1202, allocations: 0 / 0.4955 GB, free: 1.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001381/0.1203, allocations: 0 / 0.4955 GB, free: 1.809 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.0068/0.1271, allocations: 2.772 MB / 0.4982 GB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1272, allocations: 12.03 kB / 0.4982 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009882/0.1282, allocations: 279.3 kB / 0.4985 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.1306, allocations: 1.33 MB / 0.4998 GB, free: 13.3 MB / 382.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.0002614/0.1309, allocations: 231.4 kB / 0.5 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004488/0.1314, allocations: 211.9 kB / 0.5002 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00499/0.1364, allocations: 2.715 MB / 0.5029 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-05/0.1365, allocations: 3.953 kB / 0.5029 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.1367, allocations: 95.86 kB / 0.503 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.1368, allocations: 100 kB / 0.5031 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00422/0.141, allocations: 2.225 MB / 0.5053 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1919/0.333, allocations: 7.929 MB / 0.513 GB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.336, allocations: 1.608 MB / 0.5146 GB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.3378, allocations: 0.9486 MB / 0.5155 GB, free: 36.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.3381, allocations: 125.4 kB / 0.5156 GB, free: 36.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/0.3393, allocations: 0.778 MB / 0.5164 GB, free: 36.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.146e-06/0.3394, allocations: 0 / 0.5164 GB, free: 36.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01506/0.3544, allocations: 6.721 MB / 0.5229 GB, free: 34.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.3545, allocations: 252.1 kB / 0.5232 GB, free: 34.21 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.00172/0.3563, allocations: 1.167 MB / 0.5243 GB, free: 33.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.3564, allocations: 51.55 kB / 0.5244 GB, free: 33.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006803/0.3571, allocations: 0.9476 MB / 0.5253 GB, free: 33.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.3574, allocations: 440.7 kB / 0.5257 GB, free: 32.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/0.3578, allocations: 252.3 kB / 0.526 GB, free: 32.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3579, allocations: 360.4 kB / 0.5263 GB, free: 32.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.3596, allocations: 0.7206 MB / 0.527 GB, free: 32.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.3611, allocations: 1.093 MB / 0.5281 GB, free: 31.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008324/0.3695, allocations: 3.58 MB / 0.5316 GB, free: 29.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.3695, allocations: 2.75 kB / 0.5316 GB, free: 29.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004069/0.3736, allocations: 2.533 MB / 0.534 GB, free: 28.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.3736, allocations: 49.14 kB / 0.5341 GB, free: 28.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.3737, allocations: 7.906 kB / 0.5341 GB, free: 28.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.3747, allocations: 0.4968 MB / 0.5346 GB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.3758, allocations: 296.8 kB / 0.5349 GB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005974/0.3817, allocations: 8.798 MB / 0.5435 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.3832, allocations: 128 kB / 0.5436 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.3833, allocations: 55.56 kB / 0.5436 GB, free: 20.74 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001853/0.3852, allocations: 1.243 MB / 0.5448 GB, free: 20.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001139/0.3863, allocations: 1.079 MB / 0.5459 GB, free: 19.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007652/0.394, allocations: 3.507 MB / 0.5493 GB, free: 15.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.063e-05/0.394, allocations: 11 kB / 0.5493 GB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003687/0.3977, allocations: 2.494 MB / 0.5518 GB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3978, allocations: 38.48 kB / 0.5518 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3978, allocations: 12 kB / 0.5518 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009835/0.3988, allocations: 0.4999 MB / 0.5523 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000947/0.3997, allocations: 283.5 kB / 0.5526 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00572/0.4055, allocations: 8.804 MB / 0.5612 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.407, allocations: 127.9 kB / 0.5613 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.406e-05/0.4071, allocations: 63.03 kB / 0.5614 GB, free: 2.668 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (150): * Single equations (assignments): 143 * 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.0003996/0.4075, allocations: 292 kB / 0.5616 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.4077, allocations: 147.1 kB / 0.5618 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/0.4111, allocations: 2.215 MB / 0.5639 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.4112, allocations: 7.969 kB / 0.5639 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4112, allocations: 0 / 0.5639 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/0.4118, allocations: 360.1 kB / 0.5643 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.412, allocations: 31.98 kB / 0.5643 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009197/0.4129, allocations: 107.9 kB / 0.5644 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.4132, allocations: 112.8 kB / 0.5645 GB, free: 15.34 MB / 398.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 gain.y > 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 gain.y < (-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 gain.y = 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.0009069/0.4141, allocations: 267.3 kB / 0.5648 GB, free: 15.1 MB / 398.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model EHPTexamples.ElectricDrives.wFollowing could not be translated