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 2.898/2.898, allocations: 8.035 MB / 24.29 MB, free: 4.824 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009498/0.0009499, allocations: 101.9 kB / 26.87 MB, free: 2.988 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.001219/0.001219, allocations: 199.7 kB / 29.57 MB, free: 308 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.437/1.437, allocations: 222.9 MB / 255 MB, free: 4.703 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01262/0.01262, allocations: 3.123 MB / 310 MB, free: 2.336 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002536/0.002536, allocations: 96.27 kB / 375.1 MB, free: 1.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3056, allocations: 51.98 MB / 427.1 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008339/0.3139, allocations: 9.018 MB / 436.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005249/0.3192, allocations: 2.552 MB / 438.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.3206, allocations: 47.81 kB / 438.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.3218, allocations: 464.7 kB / 439.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.3234, allocations: 0.6404 MB / 439.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009423/0.3244, allocations: 0.4915 MB / 440.3 MB, free: 8.051 MB / 302.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/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.0) 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.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * aimc.fsNominal)) 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/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. [/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.0 * sqrt(1.0 - 0.0667) / (2.0 * aimc.pi * 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: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.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * 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: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 NFFlatten.flatten: time 0.002004/0.3264, allocations: 2.468 MB / 442.8 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.3281, allocations: 2.056 MB / 444.8 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.3293, allocations: 1.079 MB / 445.9 MB, free: 2.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.3305, allocations: 1.327 MB / 447.2 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.3308, allocations: 296 kB / 447.5 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.3313, allocations: 387.8 kB / 447.9 MB, free: 392 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006512/0.332, allocations: 0.7908 MB / 448.7 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.3332, allocations: 1.276 MB / 450 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003281/0.3365, allocations: 3.715 MB / 453.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3365, allocations: 0 / 453.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3365, allocations: 3.938 kB / 453.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.757e-05/0.3366, allocations: 0 / 453.7 MB, free: 10.58 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.005056/0.3416, allocations: 2.697 MB / 456.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3417, allocations: 8.031 kB / 456.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006269/0.3423, allocations: 262.1 kB / 456.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.3446, allocations: 1.325 MB / 458 MB, free: 6.172 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.0002223/0.3448, allocations: 221 kB / 458.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.3451, allocations: 207.9 kB / 458.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004134/0.3492, allocations: 2.698 MB / 461.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.913e-05/0.3493, allocations: 3.938 kB / 461.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.3495, allocations: 84 kB / 461.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-05/0.3496, allocations: 99.97 kB / 461.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003583/0.3532, allocations: 2.206 MB / 463.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.3667, allocations: 7.852 MB / 471.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/0.3695, allocations: 1.584 MB / 472.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.3712, allocations: 0.9454 MB / 473.8 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.3715, allocations: 130 kB / 474 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.3729, allocations: 0.7655 MB / 474.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.765e-06/0.3729, allocations: 0 / 474.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01564/0.3885, allocations: 6.606 MB / 481.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.3887, allocations: 248.3 kB / 481.6 MB, free: 13.91 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: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: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.002024/0.3907, allocations: 1.195 MB / 482.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.3908, allocations: 53.64 kB / 482.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.3919, allocations: 0.9192 MB / 483.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004681/0.3924, allocations: 402.3 kB / 484.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005483/0.393, allocations: 250.8 kB / 484.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.3932, allocations: 361.9 kB / 484.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.3944, allocations: 0.6976 MB / 485.4 MB, free: 10 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.396, allocations: 1.093 MB / 486.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008518/0.4045, allocations: 3.551 MB / 490.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.4045, allocations: 64 / 490.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004879/0.4094, allocations: 2.527 MB / 492.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.4095, allocations: 33.7 kB / 492.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.4095, allocations: 12 kB / 492.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.4106, allocations: 0.4999 MB / 493.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.4117, allocations: 295.5 kB / 493.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009461/0.4212, allocations: 8.81 MB / 0.4905 GB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.4229, allocations: 123.9 kB / 0.4906 GB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.423, allocations: 56 kB / 0.4907 GB, free: 8.066 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.002313/0.4254, allocations: 1.23 MB / 0.4919 GB, free: 6.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00149/0.4269, allocations: 1.062 MB / 0.4929 GB, free: 5.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00893/0.4358, allocations: 3.485 MB / 0.4963 GB, free: 1.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-05/0.4359, allocations: 4 kB / 0.4963 GB, free: 1.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004757/0.4406, allocations: 2.465 MB / 0.4987 GB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.4407, allocations: 41.73 kB / 0.4988 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.4407, allocations: 8 kB / 0.4988 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.442, allocations: 0.5154 MB / 0.4993 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.4432, allocations: 275.6 kB / 0.4995 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.4537, allocations: 8.783 MB / 0.5081 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.4556, allocations: 135.9 kB / 0.5082 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.4558, allocations: 55.98 kB / 0.5083 GB, free: 5.07 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.0008015/0.4566, allocations: 302 kB / 0.5086 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.4569, allocations: 130.4 kB / 0.5087 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004629/0.4615, allocations: 2.191 MB / 0.5108 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.4615, allocations: 15.98 kB / 0.5109 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.4615, allocations: 4 kB / 0.5109 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.4616, allocations: 11.91 kB / 0.5109 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1848/0.6464, allocations: 4.571 MB / 0.5153 GB, free: 84.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.6464, allocations: 4.812 kB / 0.5153 GB, free: 84.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000825/0.6473, allocations: 202.1 kB / 0.5155 GB, free: 84.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.6486, allocations: 0.5188 MB / 0.516 GB, free: 84.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.6487, allocations: 36.8 kB / 0.5161 GB, free: 84.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006476/0.6552, allocations: 8.606 MB / 0.5245 GB, free: 78.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6552, allocations: 9.922 kB / 0.5245 GB, free: 78.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/0.66, allocations: 3.226 MB / 0.5276 GB, free: 76.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008352/0.6609, allocations: 357.7 kB / 0.528 GB, free: 76.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.6611, allocations: 36.53 kB / 0.528 GB, free: 76.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009308/0.6621, allocations: 103.5 kB / 0.5281 GB, free: 76.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.6623, allocations: 117.8 kB / 0.5282 GB, free: 76.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/0.6624, allocations: 38.03 kB / 0.5283 GB, free: 76.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00115/0.6636, allocations: 0.7971 MB / 0.529 GB, free: 76.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6636, allocations: 0 / 0.529 GB, free: 76.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002416/0.666, allocations: 0.7371 MB / 0.5298 GB, free: 76.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003463/0.6664, allocations: 198.2 kB / 0.5299 GB, free: 75.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007931/0.6743, allocations: 6.678 MB / 0.5365 GB, free: 71.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.6743, allocations: 0 / 0.5365 GB, free: 71.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003358/0.6777, allocations: 2.835 MB / 0.5392 GB, free: 69.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.6794, allocations: 383.6 kB / 0.5396 GB, free: 68.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.6849, allocations: 4.187 MB / 0.5437 GB, free: 64.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009779/0.6859, allocations: 1.744 MB / 0.5454 GB, free: 63.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001053/0.687, allocations: 419.6 kB / 0.5458 GB, free: 62.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.6872, allocations: 95.42 kB / 0.5459 GB, free: 62.7 MB / 382.1 MB Notification: Performance of SimCode: time 6.42e-07/0.6872, allocations: 0 / 0.5459 GB, free: 62.7 MB / 382.1 MB Notification: Performance of Templates: time 0.0386/0.7258, allocations: 31.22 MB / 0.5764 GB, free: 31.82 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & ./EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)