Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04325/0.04325, allocations: 8.041 MB / 24.35 MB, free: 4 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.001067/0.001067, allocations: 113.4 kB / 26.93 MB, free: 2.992 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.001208/0.001208, allocations: 191.3 kB / 29.62 MB, free: 316 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.4/1.4, allocations: 222.9 MB / 255.1 MB, free: 4.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01324/0.01324, allocations: 3.116 MB / 310.1 MB, free: 2.285 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 91.86 kB / 427.6 MB, free: 17.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08318/0.08489, allocations: 51.97 MB / 479.6 MB, free: 13.5 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.00975/0.09467, allocations: 9.064 MB / 488.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004516/0.0992, allocations: 2.556 MB / 491.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007101/0.09993, allocations: 47.81 kB / 491.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009866/0.1009, allocations: 480.6 kB / 491.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.1024, allocations: 0.6833 MB / 492.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1037, allocations: 499 kB / 492.9 MB, free: 148 kB / 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.002286/0.106, allocations: 2.483 MB / 495.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.1081, allocations: 2.045 MB / 497.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.1094, allocations: 1.094 MB / 498.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.1108, allocations: 1.327 MB / 499.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003669/0.1112, allocations: 304 kB / 0.4884 GB, free: 8.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006226/0.1118, allocations: 387.8 kB / 0.4888 GB, free: 8.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006885/0.1125, allocations: 0.7753 MB / 0.4895 GB, free: 7.652 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.1136, allocations: 1.287 MB / 0.4908 GB, free: 6.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.1168, allocations: 3.723 MB / 0.4944 GB, free: 2.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1168, allocations: 0 / 0.4944 GB, free: 2.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1168, allocations: 4 kB / 0.4944 GB, free: 2.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.961e-05/0.1168, allocations: 0 / 0.4944 GB, free: 2.621 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.004976/0.1218, allocations: 2.708 MB / 0.4971 GB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1219, allocations: 8.031 kB / 0.4971 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000656/0.1225, allocations: 262.1 kB / 0.4973 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.1247, allocations: 1.329 MB / 0.4986 GB, free: 14.2 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.0002287/0.1249, allocations: 215.4 kB / 0.4988 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.1252, allocations: 211.9 kB / 0.499 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00426/0.1295, allocations: 2.687 MB / 0.5016 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.996e-05/0.1296, allocations: 8 kB / 0.5017 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.1298, allocations: 84 kB / 0.5017 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.316e-05/0.1299, allocations: 99.97 kB / 0.5018 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003782/0.1337, allocations: 2.205 MB / 0.504 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.1455, allocations: 7.867 MB / 0.5117 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1788/0.3244, allocations: 1.581 MB / 0.5132 GB, free: 39.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/0.3266, allocations: 0.9345 MB / 0.5141 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.3269, allocations: 125.1 kB / 0.5142 GB, free: 39.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.3282, allocations: 0.7694 MB / 0.515 GB, free: 39.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.427e-06/0.3282, allocations: 3.5 kB / 0.515 GB, free: 39.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01454/0.3428, allocations: 6.598 MB / 0.5214 GB, free: 36.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.3429, allocations: 250 kB / 0.5217 GB, free: 36.47 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.001896/0.3448, allocations: 1.171 MB / 0.5228 GB, free: 35.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.871e-05/0.3449, allocations: 50.98 kB / 0.5229 GB, free: 35.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006883/0.3456, allocations: 0.9215 MB / 0.5238 GB, free: 35.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.3459, allocations: 400 kB / 0.5242 GB, free: 34.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004173/0.3463, allocations: 251.4 kB / 0.5244 GB, free: 34.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.3464, allocations: 363.5 kB / 0.5247 GB, free: 34.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.3477, allocations: 0.707 MB / 0.5254 GB, free: 34.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.3491, allocations: 1.09 MB / 0.5265 GB, free: 33.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008554/0.3577, allocations: 3.549 MB / 0.53 GB, free: 31.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.3577, allocations: 2.75 kB / 0.53 GB, free: 31.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004277/0.362, allocations: 2.52 MB / 0.5324 GB, free: 30.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.3621, allocations: 37.3 kB / 0.5325 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.3621, allocations: 7.875 kB / 0.5325 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.3632, allocations: 0.5043 MB / 0.533 GB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.3642, allocations: 299.6 kB / 0.5332 GB, free: 30.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006062/0.3703, allocations: 8.792 MB / 0.5418 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.3717, allocations: 125.4 kB / 0.542 GB, free: 23.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.3718, allocations: 57.33 kB / 0.542 GB, free: 23.09 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.001796/0.3736, allocations: 1.233 MB / 0.5432 GB, free: 22.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001104/0.3747, allocations: 1.072 MB / 0.5443 GB, free: 21.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007368/0.3821, allocations: 3.487 MB / 0.5477 GB, free: 17.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.885e-06/0.3821, allocations: 4 kB / 0.5477 GB, free: 17.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003675/0.3858, allocations: 2.465 MB / 0.5501 GB, free: 15.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3859, allocations: 33.7 kB / 0.5501 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3859, allocations: 12 kB / 0.5501 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.3869, allocations: 0.5086 MB / 0.5506 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009782/0.3879, allocations: 275.6 kB / 0.5509 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005847/0.3938, allocations: 8.794 MB / 0.5595 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.3952, allocations: 135.9 kB / 0.5596 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-05/0.3953, allocations: 63.92 kB / 0.5597 GB, free: 4.969 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.000385/0.3957, allocations: 296.3 kB / 0.5599 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.396, allocations: 142.3 kB / 0.5601 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/0.3994, allocations: 2.194 MB / 0.5622 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3995, allocations: 7.922 kB / 0.5622 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3995, allocations: 0 / 0.5622 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006214/0.4001, allocations: 355.3 kB / 0.5626 GB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.4003, allocations: 31.98 kB / 0.5626 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008968/0.4012, allocations: 111.9 kB / 0.5627 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.4014, allocations: 104.8 kB / 0.5628 GB, free: 1.684 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.0008616/0.4023, allocations: 249.1 kB / 0.563 GB, free: 1.441 MB / 382.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model EHPTexamples.ElectricDrives.tqFollowing could not be translated