Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04552/0.04552, allocations: 8.354 MB / 24.66 MB, free: 160 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.0009968/0.0009968, allocations: 105.9 kB / 27.32 MB, free: 2.77 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.001098/0.001098, allocations: 190.3 kB / 30.09 MB, free: 12 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.319/1.319, allocations: 222.9 MB / 255.6 MB, free: 4.289 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01284/0.01284, allocations: 3.128 MB / 310.7 MB, free: 1.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 95.86 kB / 428.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08171/0.08369, allocations: 52.04 MB / 480.4 MB, free: 12.88 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.01093/0.09466, allocations: 9.174 MB / 489.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005357/0.1, allocations: 2.638 MB / 492.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.1012, allocations: 47.81 kB / 492.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.1026, allocations: 468.7 kB / 492.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.1047, allocations: 0.6911 MB / 493.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.106, allocations: 0.4983 MB / 493.9 MB, free: 15.32 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.00295/0.109, allocations: 2.495 MB / 496.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002621/0.1116, allocations: 2.061 MB / 498.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.1131, allocations: 1.106 MB / 499.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.115, allocations: 1.327 MB / 0.4891 GB, free: 8.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006552/0.1157, allocations: 304 kB / 0.4894 GB, free: 7.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008758/0.1166, allocations: 399.8 kB / 0.4898 GB, free: 7.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007433/0.1173, allocations: 0.7986 MB / 0.4906 GB, free: 6.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.1186, allocations: 1.291 MB / 0.4919 GB, free: 5.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.1219, allocations: 3.76 MB / 0.4955 GB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.122, allocations: 3.984 kB / 0.4955 GB, free: 1.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.122, allocations: 0 / 0.4955 GB, free: 1.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.561e-05/0.122, allocations: 4 kB / 0.4955 GB, free: 1.68 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.004931/0.1269, allocations: 2.772 MB / 0.4982 GB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.127, allocations: 8.031 kB / 0.4982 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006945/0.1277, allocations: 279.3 kB / 0.4985 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.1297, allocations: 1.334 MB / 0.4998 GB, free: 13.17 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.0002246/0.1299, allocations: 227.4 kB / 0.5 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.1302, allocations: 212 kB / 0.5002 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.1344, allocations: 2.715 MB / 0.5029 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.618e-05/0.1345, allocations: 15.89 kB / 0.5029 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.1347, allocations: 84 kB / 0.503 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.1348, allocations: 100 kB / 0.5031 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.1386, allocations: 2.225 MB / 0.5052 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1894/0.328, allocations: 7.925 MB / 0.513 GB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.3309, allocations: 1.608 MB / 0.5146 GB, free: 36.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.3326, allocations: 0.9509 MB / 0.5155 GB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.3328, allocations: 121.1 kB / 0.5156 GB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.3341, allocations: 0.7783 MB / 0.5164 GB, free: 36.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.136e-06/0.3341, allocations: 0 / 0.5164 GB, free: 36.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01421/0.3483, allocations: 6.723 MB / 0.5229 GB, free: 34.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.3484, allocations: 254.1 kB / 0.5232 GB, free: 34.27 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.00156/0.35, allocations: 1.173 MB / 0.5243 GB, free: 33.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.508e-05/0.3501, allocations: 48.64 kB / 0.5244 GB, free: 33.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/0.3506, allocations: 0.9504 MB / 0.5253 GB, free: 33.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.3509, allocations: 439.8 kB / 0.5257 GB, free: 32.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/0.3513, allocations: 252.8 kB / 0.526 GB, free: 32.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.693e-05/0.3514, allocations: 359.7 kB / 0.5263 GB, free: 32.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.3526, allocations: 0.713 MB / 0.527 GB, free: 32.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.354, allocations: 1.097 MB / 0.5281 GB, free: 31.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008308/0.3623, allocations: 3.576 MB / 0.5316 GB, free: 29.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.3623, allocations: 3.781 kB / 0.5316 GB, free: 29.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003907/0.3663, allocations: 2.545 MB / 0.534 GB, free: 28.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.3663, allocations: 41.27 kB / 0.5341 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3663, allocations: 9.656 kB / 0.5341 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.3674, allocations: 0.4988 MB / 0.5346 GB, free: 28.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/0.3684, allocations: 304.6 kB / 0.5349 GB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00585/0.3742, allocations: 8.794 MB / 0.5435 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3755, allocations: 121.2 kB / 0.5436 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.3756, allocations: 61.33 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.002009/0.3777, allocations: 1.237 MB / 0.5448 GB, free: 20.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001142/0.3788, allocations: 1.079 MB / 0.5459 GB, free: 19.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007567/0.3864, allocations: 3.513 MB / 0.5493 GB, free: 15.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.991e-06/0.3864, allocations: 7.062 kB / 0.5493 GB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003938/0.3904, allocations: 2.485 MB / 0.5518 GB, free: 12.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.3904, allocations: 41.64 kB / 0.5518 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3904, allocations: 8 kB / 0.5518 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.3915, allocations: 0.5077 MB / 0.5523 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009722/0.3924, allocations: 284.4 kB / 0.5526 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005765/0.3982, allocations: 8.806 MB / 0.5612 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.3996, allocations: 127.9 kB / 0.5613 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/0.3997, allocations: 59.98 kB / 0.5613 GB, free: 2.578 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.0003647/0.4001, allocations: 289 kB / 0.5616 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.4003, allocations: 143.1 kB / 0.5618 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/0.4038, allocations: 2.217 MB / 0.5639 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.4038, allocations: 11.97 kB / 0.5639 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4039, allocations: 0 / 0.5639 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/0.4044, allocations: 364.1 kB / 0.5643 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.4046, allocations: 27.98 kB / 0.5643 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009316/0.4056, allocations: 115.9 kB / 0.5644 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.4058, allocations: 104.8 kB / 0.5645 GB, free: 15.26 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.0009261/0.4067, allocations: 270.1 kB / 0.5648 GB, free: 15.01 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