Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05811/0.05811, allocations: 8.012 MB / 24.16 MB, free: 396 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.0009021/0.0009022, allocations: 110.3 kB / 26.72 MB, free: 3.281 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.001045/0.001045, allocations: 193.6 kB / 29.41 MB, free: 0.6055 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 254.8 MB, free: 4.832 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01224/0.01224, allocations: 3.124 MB / 309.9 MB, free: 2.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 88.09 kB / 374.2 MB, free: 2.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1856, allocations: 51.98 MB / 426.2 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.007189/0.1928, allocations: 9.131 MB / 435.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.1967, allocations: 2.626 MB / 437.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006652/0.1974, allocations: 47.81 kB / 438 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008799/0.1983, allocations: 472.5 kB / 438.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.1994, allocations: 0.6481 MB / 439.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007045/0.2001, allocations: 0.4967 MB / 439.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.2015, allocations: 2.468 MB / 442.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.2031, allocations: 2.057 MB / 444.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008391/0.2039, allocations: 1.09 MB / 445.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009985/0.2049, allocations: 1.315 MB / 446.5 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.2052, allocations: 304 kB / 446.8 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004717/0.2057, allocations: 395.8 kB / 447.2 MB, free: 292 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006162/0.2063, allocations: 0.7793 MB / 448 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.2074, allocations: 1.295 MB / 449.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.2105, allocations: 3.692 MB / 453 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2105, allocations: 0 / 453 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2105, allocations: 0 / 453 MB, free: 10.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.944e-05/0.2106, allocations: 0 / 453 MB, free: 10.5 MB / 318.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.005195/0.2158, allocations: 2.709 MB / 455.7 MB, free: 7.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2158, allocations: 8.031 kB / 455.7 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/0.2165, allocations: 274 kB / 456 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.2184, allocations: 1.286 MB / 457.3 MB, free: 6.113 MB / 318.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.00024/0.2186, allocations: 222 kB / 457.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.2189, allocations: 211.9 kB / 457.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004068/0.223, allocations: 2.723 MB / 460.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.104e-05/0.2231, allocations: 7.906 kB / 460.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.2233, allocations: 91.98 kB / 460.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.533e-05/0.2234, allocations: 96.03 kB / 460.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.2271, allocations: 2.225 MB / 462.8 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.2384, allocations: 8.016 MB / 470.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.241, allocations: 1.613 MB / 472.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.2428, allocations: 0.9563 MB / 473.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.243, allocations: 122.1 kB / 473.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.2443, allocations: 0.785 MB / 474.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 3.196e-06/0.2443, allocations: 0 / 474.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01311/0.2574, allocations: 6.642 MB / 480.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.2575, allocations: 252.3 kB / 481.2 MB, free: 13.49 MB / 350.1 MB [/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. [/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.0) 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: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:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.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=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) 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. [/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/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:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) 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.0) 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: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: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: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.0) 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/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.2591, allocations: 1.204 MB / 482.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.2592, allocations: 49.7 kB / 482.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007397/0.26, allocations: 0.9309 MB / 483.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.2603, allocations: 414.2 kB / 483.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/0.2607, allocations: 251.4 kB / 484 MB, free: 10.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2609, allocations: 361.9 kB / 484.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.2621, allocations: 0.723 MB / 485.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.2637, allocations: 1.1 MB / 486.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008519/0.2723, allocations: 3.598 MB / 489.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.2723, allocations: 4 kB / 489.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004374/0.2767, allocations: 2.521 MB / 492.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.2767, allocations: 37.7 kB / 492.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.2767, allocations: 8 kB / 492.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.2779, allocations: 0.5114 MB / 492.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.279, allocations: 295.5 kB / 493.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008045/0.2871, allocations: 8.799 MB / 0.4902 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.2885, allocations: 123.9 kB / 0.4903 GB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.2887, allocations: 59.98 kB / 0.4904 GB, free: 7.539 MB / 366.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.002047/0.2907, allocations: 1.236 MB / 0.4916 GB, free: 6.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001349/0.2921, allocations: 1.076 MB / 0.4926 GB, free: 5.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00804/0.3001, allocations: 3.532 MB / 0.4961 GB, free: 1.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.54e-06/0.3001, allocations: 7.938 kB / 0.4961 GB, free: 1.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003941/0.3041, allocations: 2.474 MB / 0.4985 GB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.3041, allocations: 33.7 kB / 0.4985 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3041, allocations: 12.31 kB / 0.4986 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.3052, allocations: 0.4989 MB / 0.499 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/0.3062, allocations: 295.5 kB / 0.4993 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007881/0.3141, allocations: 8.798 MB / 0.5079 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.3155, allocations: 139.8 kB / 0.508 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.3156, allocations: 59.94 kB / 0.5081 GB, free: 4.445 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.0004249/0.316, allocations: 293.2 kB / 0.5084 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.3162, allocations: 134.4 kB / 0.5085 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/0.32, allocations: 2.203 MB / 0.5107 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.3201, allocations: 15.91 kB / 0.5107 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3201, allocations: 3.938 kB / 0.5107 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/0.3206, allocations: 363.3 kB / 0.511 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.3208, allocations: 27.98 kB / 0.5111 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/0.3217, allocations: 103.9 kB / 0.5112 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.3219, allocations: 108.8 kB / 0.5113 GB, free: 1.141 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 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:9746:5-9747:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008658/0.3228, allocations: 263.8 kB / 0.5115 GB, free: 0.8867 MB / 382.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model EHPTexamples.ElectricDrives.wFollowing could not be translated