Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json 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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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) Running command: translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004934/0.004934, allocations: 100.3 kB / 15.73 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 190.4 kB / 16.68 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04623/0.04623, allocations: 8.323 MB / 298.8 MB, free: 6.527 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 413.5 MB, free: 22.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1127, allocations: 51.26 MB / 464.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01192/0.1246, allocations: 9.679 MB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007273/0.132, allocations: 2.704 MB / 477.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.1338, allocations: 51.81 kB / 477.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.1354, allocations: 488.3 kB / 477.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.1381, allocations: 0.6791 MB / 478.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1397, allocations: 0.5345 MB / 478.9 MB, free: 4.543 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/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:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo: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:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo: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.003885/0.1435, allocations: 2.672 MB / 481.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/0.1468, allocations: 2.3 MB / 483.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.1491, allocations: 1.184 MB / 485 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.151, allocations: 1.432 MB / 486.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004996/0.1515, allocations: 332 kB / 486.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009134/0.1524, allocations: 419.8 kB / 487.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009324/0.1533, allocations: 0.8611 MB / 488.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.1554, allocations: 1.423 MB / 489.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005156/0.1605, allocations: 4.138 MB / 493.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1606, allocations: 0 / 493.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1606, allocations: 0 / 493.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001362/0.1607, allocations: 0 / 493.6 MB, free: 5.688 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: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.00707/0.1678, allocations: 2.972 MB / 496.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1679, allocations: 8.031 kB / 496.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008127/0.1687, allocations: 295.2 kB / 496.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.1711, allocations: 1.436 MB / 498.3 MB, free: 0.8633 MB / 366.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.0002714/0.1714, allocations: 246.4 kB / 498.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/0.1717, allocations: 228 kB / 498.8 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005101/0.1768, allocations: 2.961 MB / 0.49 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.541e-05/0.1769, allocations: 11.94 kB / 0.49 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/0.1772, allocations: 99.98 kB / 0.4901 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.1773, allocations: 104.5 kB / 0.4902 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004439/0.1817, allocations: 2.376 MB / 0.4925 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.1952, allocations: 8.72 MB / 0.501 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.1978, allocations: 1.624 MB / 0.5026 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3014/0.4993, allocations: 0.9615 MB / 0.5036 GB, free: 45.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.4996, allocations: 121.4 kB / 0.5037 GB, free: 45.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.501, allocations: 0.7842 MB / 0.5044 GB, free: 44.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.236e-06/0.501, allocations: 1.031 kB / 0.5044 GB, free: 44.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01493/0.5159, allocations: 6.999 MB / 0.5113 GB, free: 42.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.5161, allocations: 248.1 kB / 0.5115 GB, free: 41.88 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:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.5185, allocations: 1.233 MB / 0.5127 GB, free: 41.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.5186, allocations: 52.44 kB / 0.5128 GB, free: 41.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009613/0.5196, allocations: 1.037 MB / 0.5138 GB, free: 40.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/0.52, allocations: 437.1 kB / 0.5142 GB, free: 40.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004987/0.5205, allocations: 265.2 kB / 0.5144 GB, free: 40.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.5206, allocations: 308.9 kB / 0.5147 GB, free: 39.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.522, allocations: 0.7156 MB / 0.5154 GB, free: 39.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.5236, allocations: 1.133 MB / 0.5165 GB, free: 38.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008545/0.5321, allocations: 3.6 MB / 0.5201 GB, free: 37.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.833e-05/0.5322, allocations: 2.75 kB / 0.5201 GB, free: 37.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00484/0.537, allocations: 2.579 MB / 0.5226 GB, free: 36.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/0.5371, allocations: 33.64 kB / 0.5226 GB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.5372, allocations: 11.84 kB / 0.5226 GB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.5383, allocations: 0.5008 MB / 0.5231 GB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.5394, allocations: 300.6 kB / 0.5234 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006739/0.5462, allocations: 8.816 MB / 0.532 GB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.5483, allocations: 123.7 kB / 0.5321 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.5485, allocations: 67.14 kB / 0.5322 GB, free: 28.16 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002632/0.5511, allocations: 1.295 MB / 0.5335 GB, free: 27.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001176/0.5523, allocations: 1.1 MB / 0.5345 GB, free: 25.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007463/0.5598, allocations: 3.534 MB / 0.538 GB, free: 22.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-05/0.5598, allocations: 4 kB / 0.538 GB, free: 22.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00383/0.5637, allocations: 2.522 MB / 0.5404 GB, free: 19.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.5637, allocations: 45.69 kB / 0.5405 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.5637, allocations: 8 kB / 0.5405 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009565/0.5647, allocations: 0.5025 MB / 0.541 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009364/0.5656, allocations: 299.4 kB / 0.5413 GB, free: 18.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/0.5713, allocations: 8.788 MB / 0.5499 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.5728, allocations: 135.9 kB / 0.55 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.5729, allocations: 65.38 kB / 0.55 GB, free: 9.238 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (155): * Single equations (assignments): 148 * 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.0003997/0.5733, allocations: 301.3 kB / 0.5503 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.5736, allocations: 152.1 kB / 0.5505 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003263/0.5768, allocations: 2.215 MB / 0.5526 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.5769, allocations: 12 kB / 0.5527 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5769, allocations: 4 kB / 0.5527 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5769, allocations: 3.984 kB / 0.5527 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.5827, allocations: 4.739 MB / 0.5573 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5828, allocations: 4 kB / 0.5573 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/0.5835, allocations: 203.7 kB / 0.5575 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.5846, allocations: 0.519 MB / 0.558 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-05/0.5847, allocations: 39.98 kB / 0.558 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007252/0.5919, allocations: 8.618 MB / 0.5664 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.592, allocations: 4 kB / 0.5665 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005395/0.5974, allocations: 3.275 MB / 0.5697 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007025/0.5981, allocations: 364 kB / 0.57 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.5983, allocations: 35.98 kB / 0.57 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/0.5992, allocations: 99.89 kB / 0.5701 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.5995, allocations: 120.7 kB / 0.5702 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.527e-05/0.5996, allocations: 44.11 kB / 0.5703 GB, free: 3.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001155/0.6007, allocations: 0.8146 MB / 0.5711 GB, free: 2.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.6008, allocations: 8 kB / 0.5711 GB, free: 2.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002586/0.6033, allocations: 0.7847 MB / 0.5719 GB, free: 2.078 MB / 398.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 (102): * Single equations (assignments): 94 * 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.0003629/0.6037, allocations: 201.9 kB / 0.572 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009861/0.6136, allocations: 6.736 MB / 0.5786 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.6136, allocations: 0 / 0.5786 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004119/0.6177, allocations: 2.853 MB / 0.5814 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.6197, allocations: 397.6 kB / 0.5818 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006932/0.6266, allocations: 4.521 MB / 0.5862 GB, free: 2.984 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.628, allocations: 1.837 MB / 0.588 GB, free: 1.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001226/0.6293, allocations: 427.9 kB / 0.5884 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.6296, allocations: 103.4 kB / 0.5885 GB, free: 0.582 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6296, allocations: 4 kB / 0.5885 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of Templates: time 0.05478/0.6844, allocations: 32.27 MB / 0.62 GB, free: 0.6406 MB / 446.1 MB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & ./EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)