Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0424/0.0424, allocations: 8.033 MB / 24.29 MB, free: 268 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.0009461/0.0009462, allocations: 107.9 kB / 26.87 MB, free: 3.121 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.00108/0.00108, allocations: 193.4 kB / 29.57 MB, free: 448 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.316/1.316, allocations: 222.9 MB / 255 MB, free: 4.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01231/0.01231, allocations: 3.125 MB / 310.1 MB, free: 2.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 87.86 kB / 375.1 MB, free: 1.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2082, allocations: 51.99 MB / 427.1 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008066/0.2163, allocations: 9.015 MB / 436.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003813/0.2202, allocations: 2.558 MB / 438.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000686/0.2209, allocations: 43.81 kB / 438.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008648/0.2217, allocations: 460.7 kB / 439.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.2229, allocations: 0.6443 MB / 439.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.2236, allocations: 497.8 kB / 440.3 MB, free: 8.043 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.001583/0.2252, allocations: 2.471 MB / 442.8 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.2268, allocations: 2.06 MB / 444.8 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009965/0.2278, allocations: 1.079 MB / 445.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.229, allocations: 1.323 MB / 447.2 MB, free: 1.039 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002769/0.2292, allocations: 300 kB / 447.5 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.2297, allocations: 383.8 kB / 447.9 MB, free: 380 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006151/0.2304, allocations: 0.7909 MB / 448.7 MB, free: 15.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.2315, allocations: 1.272 MB / 450 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003139/0.2346, allocations: 3.723 MB / 453.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2346, allocations: 0 / 453.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2347, allocations: 0 / 453.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.343e-05/0.2348, allocations: 0 / 453.7 MB, free: 10.57 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.006752/0.2415, allocations: 2.697 MB / 456.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2416, allocations: 12.03 kB / 456.4 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000706/0.2423, allocations: 266.1 kB / 456.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.2447, allocations: 1.321 MB / 458 MB, free: 6.156 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.0002469/0.2449, allocations: 219.4 kB / 458.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.2452, allocations: 207.9 kB / 458.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004344/0.2496, allocations: 2.69 MB / 461.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-05/0.2497, allocations: 7.938 kB / 461.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.2499, allocations: 87.98 kB / 461.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.25, allocations: 95.97 kB / 461.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00402/0.254, allocations: 2.209 MB / 463.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.2671, allocations: 7.852 MB / 471.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.2697, allocations: 1.58 MB / 472.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.2715, allocations: 0.9465 MB / 473.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.2718, allocations: 130 kB / 474 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.2731, allocations: 0.7655 MB / 474.7 MB, free: 4.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.564e-06/0.2731, allocations: 7.938 kB / 474.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01408/0.2872, allocations: 6.595 MB / 481.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.2874, allocations: 252.3 kB / 481.6 MB, free: 13.89 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.001827/0.2892, allocations: 1.203 MB / 482.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.482e-05/0.2893, allocations: 53.7 kB / 482.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009792/0.2903, allocations: 0.9075 MB / 483.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.2907, allocations: 406.3 kB / 484.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004328/0.2911, allocations: 254.8 kB / 484.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2913, allocations: 353.9 kB / 484.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.2925, allocations: 0.7093 MB / 485.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.294, allocations: 1.089 MB / 486.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00844/0.3025, allocations: 3.547 MB / 490.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.3025, allocations: 4.062 kB / 490.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00453/0.3071, allocations: 2.519 MB / 492.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.3071, allocations: 37.7 kB / 492.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.3071, allocations: 8 kB / 492.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.3083, allocations: 0.5002 MB / 493.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.3094, allocations: 299.4 kB / 493.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00834/0.3178, allocations: 8.803 MB / 0.4905 GB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.3193, allocations: 123.9 kB / 0.4906 GB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.3195, allocations: 64.05 kB / 0.4907 GB, free: 8.047 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.002104/0.3216, allocations: 1.229 MB / 0.4919 GB, free: 6.824 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001442/0.323, allocations: 1.062 MB / 0.4929 GB, free: 5.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008468/0.3315, allocations: 3.485 MB / 0.4963 GB, free: 1.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.335e-05/0.3316, allocations: 4 kB / 0.4963 GB, free: 1.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004177/0.3357, allocations: 2.465 MB / 0.4987 GB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.3358, allocations: 41.69 kB / 0.4988 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3358, allocations: 12 kB / 0.4988 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.3369, allocations: 0.5003 MB / 0.4993 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.338, allocations: 283.5 kB / 0.4995 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008393/0.3464, allocations: 8.787 MB / 0.5081 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.348, allocations: 131.9 kB / 0.5082 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.3481, allocations: 56 kB / 0.5083 GB, free: 5.059 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.0004799/0.3486, allocations: 300.8 kB / 0.5086 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.3489, allocations: 134.4 kB / 0.5087 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.3527, allocations: 2.187 MB / 0.5108 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.3528, allocations: 12 kB / 0.5109 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3528, allocations: 4 kB / 0.5109 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.3528, allocations: 11.92 kB / 0.5109 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2261/0.5789, allocations: 4.574 MB / 0.5153 GB, free: 85.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.579, allocations: 6.547 kB / 0.5153 GB, free: 85.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/0.5798, allocations: 196.1 kB / 0.5155 GB, free: 85.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.5812, allocations: 0.5235 MB / 0.516 GB, free: 84.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.5813, allocations: 36.91 kB / 0.5161 GB, free: 84.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007002/0.5883, allocations: 8.61 MB / 0.5245 GB, free: 78.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5883, allocations: 11.75 kB / 0.5245 GB, free: 78.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005068/0.5934, allocations: 3.223 MB / 0.5276 GB, free: 77.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007988/0.5942, allocations: 361.6 kB / 0.528 GB, free: 76.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.5944, allocations: 31.81 kB / 0.528 GB, free: 76.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008856/0.5953, allocations: 108.4 kB / 0.5281 GB, free: 76.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/0.5956, allocations: 104.5 kB / 0.5282 GB, free: 76.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-05/0.5957, allocations: 42.36 kB / 0.5283 GB, free: 76.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001027/0.5967, allocations: 0.8026 MB / 0.529 GB, free: 76.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5967, allocations: 0 / 0.529 GB, free: 76.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002307/0.599, allocations: 0.7383 MB / 0.5298 GB, free: 76.39 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.0003247/0.5994, allocations: 190.7 kB / 0.5299 GB, free: 76.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008623/0.608, allocations: 6.686 MB / 0.5365 GB, free: 71.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.608, allocations: 0 / 0.5365 GB, free: 71.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00382/0.6119, allocations: 2.837 MB / 0.5392 GB, free: 69.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.6144, allocations: 383.1 kB / 0.5396 GB, free: 69.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/0.6205, allocations: 4.176 MB / 0.5437 GB, free: 65.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.6218, allocations: 1.742 MB / 0.5454 GB, free: 63.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001471/0.6233, allocations: 411.6 kB / 0.5458 GB, free: 63.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.6236, allocations: 103.4 kB / 0.5459 GB, free: 63.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.6236, allocations: 4 kB / 0.5459 GB, free: 63.15 MB / 382.1 MB Notification: Performance of Templates: time 0.04109/0.6647, allocations: 31.22 MB / 0.5764 GB, free: 32.27 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & ./EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)