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/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/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/package.mo): time 0.04209/0.04209, allocations: 8.036 MB / 24.34 MB, free: 420 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.00102/0.00102, allocations: 107.1 kB / 26.93 MB, free: 3.137 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.00115/0.00115, allocations: 201.2 kB / 29.63 MB, free: 464 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.304/1.304, allocations: 222.9 MB / 255.1 MB, free: 4.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01621/0.01621, allocations: 3.123 MB / 310.1 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 95.86 kB / 427.6 MB, free: 17.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09363, allocations: 51.98 MB / 479.6 MB, free: 13.41 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.009978/0.1036, allocations: 9.058 MB / 488.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004758/0.1084, allocations: 2.556 MB / 491.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007438/0.1092, allocations: 47.81 kB / 491.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.1102, allocations: 476.7 kB / 491.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.1117, allocations: 0.6794 MB / 492.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008869/0.1126, allocations: 0.4944 MB / 492.9 MB, free: 64 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.002343/0.115, allocations: 2.482 MB / 495.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.1172, allocations: 2.045 MB / 497.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.1186, allocations: 1.102 MB / 498.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.1201, allocations: 1.319 MB / 499.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003821/0.1205, allocations: 303.9 kB / 0.4884 GB, free: 8.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006665/0.1212, allocations: 383.8 kB / 0.4888 GB, free: 8.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007043/0.1219, allocations: 0.7831 MB / 0.4895 GB, free: 7.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.1231, allocations: 1.279 MB / 0.4908 GB, free: 6.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003412/0.1265, allocations: 3.745 MB / 0.4944 GB, free: 2.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1265, allocations: 0 / 0.4944 GB, free: 2.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1265, allocations: 0 / 0.4944 GB, free: 2.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.576e-05/0.1266, allocations: 0 / 0.4944 GB, free: 2.527 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.005158/0.1318, allocations: 2.757 MB / 0.4971 GB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1318, allocations: 15.97 kB / 0.4971 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006455/0.1325, allocations: 275.4 kB / 0.4974 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.1345, allocations: 1.326 MB / 0.4987 GB, free: 14.04 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.000222/0.1347, allocations: 223.4 kB / 0.4989 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/0.135, allocations: 211.9 kB / 0.4991 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004054/0.1391, allocations: 2.694 MB / 0.5017 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.385e-05/0.1391, allocations: 7.953 kB / 0.5017 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/0.1393, allocations: 87.98 kB / 0.5018 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.269e-05/0.1394, allocations: 99.92 kB / 0.5019 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/0.143, allocations: 2.209 MB / 0.5041 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.1538, allocations: 7.886 MB / 0.5118 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1842/0.3379, allocations: 1.581 MB / 0.5133 GB, free: 40.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.3399, allocations: 0.9328 MB / 0.5142 GB, free: 39.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.3402, allocations: 126 kB / 0.5144 GB, free: 39.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.3416, allocations: 0.7696 MB / 0.5151 GB, free: 39.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.938e-06/0.3416, allocations: 0.5312 kB / 0.5151 GB, free: 39.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01442/0.356, allocations: 6.664 MB / 0.5216 GB, free: 37.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.3561, allocations: 246.5 kB / 0.5219 GB, free: 36.72 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.001656/0.3578, allocations: 1.17 MB / 0.523 GB, free: 36.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.068e-05/0.3579, allocations: 47.56 kB / 0.523 GB, free: 36.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006164/0.3585, allocations: 0.9362 MB / 0.524 GB, free: 35.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.3588, allocations: 430.2 kB / 0.5244 GB, free: 35.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/0.3592, allocations: 253.4 kB / 0.5246 GB, free: 35.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.3593, allocations: 361 kB / 0.525 GB, free: 34.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.3605, allocations: 0.7026 MB / 0.5256 GB, free: 34.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.3619, allocations: 1.093 MB / 0.5267 GB, free: 33.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008346/0.3702, allocations: 3.552 MB / 0.5302 GB, free: 32.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.3703, allocations: 2.656 kB / 0.5302 GB, free: 32.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004037/0.3743, allocations: 2.525 MB / 0.5326 GB, free: 31.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.3744, allocations: 33.61 kB / 0.5327 GB, free: 31.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.3744, allocations: 11.81 kB / 0.5327 GB, free: 31.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.3755, allocations: 0.5008 MB / 0.5332 GB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009985/0.3765, allocations: 290.4 kB / 0.5335 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/0.3826, allocations: 8.8 MB / 0.5421 GB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.3839, allocations: 127.7 kB / 0.5422 GB, free: 23.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-05/0.384, allocations: 57.2 kB / 0.5422 GB, free: 23.38 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.001744/0.3857, allocations: 1.231 MB / 0.5434 GB, free: 22.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001075/0.3868, allocations: 1.068 MB / 0.5445 GB, free: 21.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00732/0.3941, allocations: 3.491 MB / 0.5479 GB, free: 17.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.261e-06/0.3942, allocations: 6.656 kB / 0.5479 GB, free: 17.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003477/0.3976, allocations: 2.473 MB / 0.5503 GB, free: 15.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3977, allocations: 37.73 kB / 0.5503 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3977, allocations: 12 kB / 0.5504 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009741/0.3987, allocations: 0.5023 MB / 0.5508 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009638/0.3996, allocations: 283.6 kB / 0.5511 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/0.4054, allocations: 8.793 MB / 0.5597 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.4067, allocations: 135.9 kB / 0.5598 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/0.4068, allocations: 62.64 kB / 0.5599 GB, free: 4.977 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.0003562/0.4072, allocations: 298.5 kB / 0.5602 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.4074, allocations: 143.1 kB / 0.5603 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/0.4108, allocations: 2.197 MB / 0.5625 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.4108, allocations: 15.28 kB / 0.5625 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4108, allocations: 0 / 0.5625 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.4113, allocations: 364.1 kB / 0.5628 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.4115, allocations: 27.98 kB / 0.5628 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000878/0.4124, allocations: 107.9 kB / 0.5629 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.4126, allocations: 104.8 kB / 0.563 GB, free: 1.676 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.0008513/0.4135, allocations: 258.6 kB / 0.5633 GB, free: 1.426 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