Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.09181/0.09181, allocations: 8.038 MB / 23.67 MB, free: 0.5938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 98.31 kB / 26.25 MB, free: 3.395 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.002047/0.002047, allocations: 194.9 kB / 28.95 MB, free: 0.707 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.38/1.38, allocations: 222.9 MB / 254.4 MB, free: 4.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.02429/0.02429, allocations: 3.128 MB / 309.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 91.86 kB / 426.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.119, allocations: 51.97 MB / 478.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.01248/0.1316, allocations: 9.027 MB / 487.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005788/0.1374, allocations: 2.56 MB / 490.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.1387, allocations: 47.81 kB / 490.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.14, allocations: 456.7 kB / 490.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.1418, allocations: 0.6482 MB / 491.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.1431, allocations: 0.4948 MB / 492.1 MB, free: 268 kB / 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/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.002941/0.146, allocations: 2.474 MB / 494.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.1483, allocations: 2.045 MB / 496.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.1498, allocations: 1.086 MB / 497.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.1516, allocations: 1.319 MB / 499 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003831/0.1519, allocations: 300 kB / 499.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006822/0.1526, allocations: 383.8 kB / 499.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007069/0.1534, allocations: 0.7869 MB / 0.4887 GB, free: 7.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.1548, allocations: 1.279 MB / 0.49 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004023/0.1588, allocations: 3.737 MB / 0.4936 GB, free: 2.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1588, allocations: 0 / 0.4936 GB, free: 2.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1588, allocations: 0 / 0.4936 GB, free: 2.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.146e-05/0.1589, allocations: 0 / 0.4936 GB, free: 2.758 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.005789/0.1647, allocations: 2.751 MB / 0.4963 GB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.1647, allocations: 12.03 kB / 0.4963 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006808/0.1654, allocations: 275.4 kB / 0.4966 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.1675, allocations: 1.322 MB / 0.4979 GB, free: 14.29 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.0002288/0.1677, allocations: 223.4 kB / 0.4981 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.168, allocations: 208 kB / 0.4983 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004371/0.1724, allocations: 2.694 MB / 0.5009 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/0.1725, allocations: 7.953 kB / 0.5009 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.1727, allocations: 91.92 kB / 0.501 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.796e-05/0.1728, allocations: 95.97 kB / 0.5011 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.1765, allocations: 2.209 MB / 0.5033 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.1884, allocations: 7.889 MB / 0.511 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2384/0.4268, allocations: 1.567 MB / 0.5125 GB, free: 39.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/0.429, allocations: 0.9363 MB / 0.5134 GB, free: 39.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/0.4293, allocations: 128.3 kB / 0.5136 GB, free: 39.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/0.4307, allocations: 0.7734 MB / 0.5143 GB, free: 39.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.046e-06/0.4307, allocations: 0 / 0.5143 GB, free: 39.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01482/0.4455, allocations: 6.654 MB / 0.5208 GB, free: 36.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.4457, allocations: 246.9 kB / 0.521 GB, free: 36.43 MB / 382.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.002096/0.4478, allocations: 1.205 MB / 0.5222 GB, free: 35.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.4479, allocations: 47.58 kB / 0.5223 GB, free: 35.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007776/0.4487, allocations: 0.9397 MB / 0.5232 GB, free: 35.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.449, allocations: 426 kB / 0.5236 GB, free: 35.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.4494, allocations: 253.2 kB / 0.5238 GB, free: 34.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.4495, allocations: 360.8 kB / 0.5242 GB, free: 34.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.4508, allocations: 0.7071 MB / 0.5249 GB, free: 34.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.4523, allocations: 1.099 MB / 0.5259 GB, free: 33.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008766/0.4611, allocations: 3.549 MB / 0.5294 GB, free: 32.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.4611, allocations: 4.75 kB / 0.5294 GB, free: 32.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004234/0.4654, allocations: 2.517 MB / 0.5319 GB, free: 31.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.4654, allocations: 41.22 kB / 0.5319 GB, free: 30.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.4655, allocations: 11.88 kB / 0.5319 GB, free: 30.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.4665, allocations: 0.4911 MB / 0.5324 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000958/0.4675, allocations: 292.8 kB / 0.5327 GB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006171/0.4737, allocations: 8.801 MB / 0.5413 GB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.4751, allocations: 132.2 kB / 0.5414 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.4753, allocations: 62.61 kB / 0.5415 GB, free: 23.14 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.001901/0.4772, allocations: 1.22 MB / 0.5426 GB, free: 22.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001095/0.4783, allocations: 1.068 MB / 0.5437 GB, free: 21.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007295/0.4856, allocations: 3.484 MB / 0.5471 GB, free: 17.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.526e-06/0.4856, allocations: 4 kB / 0.5471 GB, free: 17.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003645/0.4893, allocations: 2.475 MB / 0.5495 GB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.4893, allocations: 38.31 kB / 0.5495 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4893, allocations: 12 kB / 0.5496 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000958/0.4903, allocations: 0.5063 MB / 0.5501 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/0.4912, allocations: 287.2 kB / 0.5503 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.4971, allocations: 8.797 MB / 0.5589 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.4987, allocations: 131.9 kB / 0.559 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.4988, allocations: 59.14 kB / 0.5591 GB, free: 5.023 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.0004343/0.4992, allocations: 297.6 kB / 0.5594 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.4995, allocations: 143.1 kB / 0.5595 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/0.5029, allocations: 2.196 MB / 0.5617 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.5029, allocations: 12 kB / 0.5617 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.5029, allocations: 6.812 kB / 0.5617 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.5029, allocations: 7.984 kB / 0.5617 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007009/0.51, allocations: 4.589 MB / 0.5662 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.51, allocations: 7.984 kB / 0.5662 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008095/0.5108, allocations: 195.3 kB / 0.5664 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.5121, allocations: 0.5197 MB / 0.5669 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.106e-05/0.5122, allocations: 31.98 kB / 0.5669 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007435/0.5197, allocations: 8.624 MB / 0.5753 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5197, allocations: 4 kB / 0.5753 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/0.5249, allocations: 3.224 MB / 0.5785 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006763/0.5256, allocations: 364.1 kB / 0.5788 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.5259, allocations: 39.53 kB / 0.5789 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.5268, allocations: 103.8 kB / 0.579 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.5271, allocations: 112.7 kB / 0.5791 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.5272, allocations: 39.98 kB / 0.5791 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001099/0.5283, allocations: 0.7939 MB / 0.5799 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5283, allocations: 0 / 0.5799 GB, free: 14.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002505/0.5308, allocations: 0.746 MB / 0.5806 GB, free: 14.18 MB / 414.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.000353/0.5312, allocations: 196.9 kB / 0.5808 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009527/0.5407, allocations: 6.674 MB / 0.5873 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5408, allocations: 0 / 0.5873 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004008/0.5448, allocations: 2.852 MB / 0.5901 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.5466, allocations: 383.7 kB / 0.5905 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006065/0.5527, allocations: 4.257 MB / 0.5946 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.554, allocations: 1.742 MB / 0.5963 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.5551, allocations: 415.6 kB / 0.5967 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.5554, allocations: 95.42 kB / 0.5968 GB, free: 13.15 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5554, allocations: 4 kB / 0.5968 GB, free: 13.14 MB / 430.1 MB Notification: Performance of Templates: time 0.04723/0.6026, allocations: 31.67 MB / 0.6277 GB, free: 13.79 MB / 462.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 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)