Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.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.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0434/0.0434, allocations: 8.358 MB / 24.67 MB, free: 140 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.0009803/0.0009804, allocations: 102.8 kB / 27.32 MB, free: 2.754 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.001185/0.001185, allocations: 191 kB / 30.09 MB, free: 6.539 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, 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.01766/0.01766, allocations: 3.115 MB / 310.7 MB, free: 1.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 99.83 kB / 428.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.083/0.08469, allocations: 52.04 MB / 480.4 MB, free: 13.04 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: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: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.tqFollowing): time 0.01038/0.09511, allocations: 9.066 MB / 489.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004902/0.1, allocations: 2.56 MB / 492 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.1012, allocations: 47.81 kB / 492.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.1027, allocations: 476.7 kB / 492.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.1049, allocations: 0.6794 MB / 493.2 MB, free: 164 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.1062, allocations: 0.4902 MB / 493.7 MB, free: 15.67 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.002976/0.1091, allocations: 2.479 MB / 496.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.1118, allocations: 2.041 MB / 498.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.1133, allocations: 1.098 MB / 499.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.1153, allocations: 1.323 MB / 0.4889 GB, free: 8.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006398/0.116, allocations: 303.9 kB / 0.4892 GB, free: 8.344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.117, allocations: 391.8 kB / 0.4896 GB, free: 7.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009891/0.118, allocations: 0.7753 MB / 0.4903 GB, free: 7.184 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.1194, allocations: 1.283 MB / 0.4916 GB, free: 5.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003503/0.1229, allocations: 3.737 MB / 0.4952 GB, free: 2.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1229, allocations: 4 kB / 0.4952 GB, free: 2.141 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1229, allocations: 4 kB / 0.4952 GB, free: 2.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.981e-05/0.123, allocations: 0 / 0.4952 GB, free: 2.137 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.005164/0.1282, allocations: 2.753 MB / 0.4979 GB, free: 15.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1282, allocations: 11.97 kB / 0.4979 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006556/0.1289, allocations: 279.4 kB / 0.4982 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.1309, allocations: 1.326 MB / 0.4995 GB, free: 13.66 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.0002404/0.1312, allocations: 223.4 kB / 0.4997 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.1315, allocations: 207.9 kB / 0.4999 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/0.1358, allocations: 2.69 MB / 0.5025 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.625e-05/0.1359, allocations: 15.88 kB / 0.5025 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.1361, allocations: 88 kB / 0.5026 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.713e-05/0.1362, allocations: 95.97 kB / 0.5027 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003851/0.14, allocations: 2.209 MB / 0.5049 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1928/0.3329, allocations: 7.889 MB / 0.5126 GB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/0.3358, allocations: 1.576 MB / 0.5141 GB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.3375, allocations: 0.9366 MB / 0.515 GB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.3377, allocations: 127.3 kB / 0.5152 GB, free: 37.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.339, allocations: 0.7676 MB / 0.5159 GB, free: 37.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.655e-06/0.339, allocations: 0.625 kB / 0.5159 GB, free: 37.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01405/0.353, allocations: 6.666 MB / 0.5224 GB, free: 34.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.3531, allocations: 245.9 kB / 0.5226 GB, free: 34.64 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.001564/0.3547, allocations: 1.169 MB / 0.5238 GB, free: 34.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.371e-05/0.3548, allocations: 51.02 kB / 0.5238 GB, free: 34.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000633/0.3554, allocations: 0.9317 MB / 0.5247 GB, free: 33.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.3557, allocations: 425.3 kB / 0.5252 GB, free: 33.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.3561, allocations: 254 kB / 0.5254 GB, free: 33.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.086e-05/0.3562, allocations: 361.3 kB / 0.5257 GB, free: 32.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.3574, allocations: 0.7084 MB / 0.5264 GB, free: 32.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.359, allocations: 1.094 MB / 0.5275 GB, free: 31.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00854/0.3676, allocations: 3.56 MB / 0.531 GB, free: 30.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.3676, allocations: 3.031 kB / 0.531 GB, free: 30.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00406/0.3717, allocations: 2.514 MB / 0.5334 GB, free: 29.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.3717, allocations: 37.33 kB / 0.5335 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.3717, allocations: 11.78 kB / 0.5335 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.3728, allocations: 0.5123 MB / 0.534 GB, free: 29.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009999/0.3738, allocations: 283.2 kB / 0.5343 GB, free: 29.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005931/0.3797, allocations: 8.805 MB / 0.5429 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.381, allocations: 131.6 kB / 0.543 GB, free: 21.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-05/0.3811, allocations: 60.83 kB / 0.543 GB, free: 21.33 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.00173/0.3829, allocations: 1.227 MB / 0.5442 GB, free: 20.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001097/0.384, allocations: 1.069 MB / 0.5453 GB, free: 19.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007401/0.3914, allocations: 3.487 MB / 0.5487 GB, free: 16.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/0.3914, allocations: 8 kB / 0.5487 GB, free: 16.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003505/0.3949, allocations: 2.469 MB / 0.5511 GB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.3949, allocations: 37.7 kB / 0.5511 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.395, allocations: 8 kB / 0.5511 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009921/0.396, allocations: 0.5017 MB / 0.5516 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009374/0.3969, allocations: 287.5 kB / 0.5519 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005704/0.4026, allocations: 8.796 MB / 0.5605 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.404, allocations: 135.8 kB / 0.5606 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.4041, allocations: 59.98 kB / 0.5607 GB, free: 3.672 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.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 (147): * Single equations (assignments): 140 * 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.0003681/0.4045, allocations: 299.3 kB / 0.561 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.4047, allocations: 143.1 kB / 0.5611 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/0.4081, allocations: 2.193 MB / 0.5632 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.4081, allocations: 3.984 kB / 0.5633 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4082, allocations: 0.8438 kB / 0.5633 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.4086, allocations: 372.1 kB / 0.5636 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.4088, allocations: 31.94 kB / 0.5636 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/0.4097, allocations: 103.9 kB / 0.5637 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.4099, allocations: 108.8 kB / 0.5638 GB, free: 380 kB / 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.0008286/0.4107, allocations: 253.6 kB / 0.5641 GB, free: 132 kB / 382.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model EHPTexamples.ElectricDrives.tqFollowing could not be translated