Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_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.005886/0.005886, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001096/0.001096, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1797/0.1797, allocations: 8.311 MB / 298.8 MB, free: 2.285 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 71.89 kB / 413.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2794, allocations: 51.26 MB / 464.7 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.009619/0.289, allocations: 9.671 MB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005661/0.2947, allocations: 2.7 MB / 477.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.2967, allocations: 55.91 kB / 477.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.2983, allocations: 498.8 kB / 477.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.301, allocations: 0.6725 MB / 478.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.3025, allocations: 0.5339 MB / 478.9 MB, free: 8.164 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.004463/0.307, allocations: 2.668 MB / 481.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002669/0.3096, allocations: 2.303 MB / 483.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.3118, allocations: 1.173 MB / 485 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.3138, allocations: 1.431 MB / 486.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005473/0.3144, allocations: 337.8 kB / 486.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.3154, allocations: 420.8 kB / 487.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007086/0.3161, allocations: 0.8644 MB / 488 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.3175, allocations: 1.416 MB / 489.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004845/0.3224, allocations: 4.145 MB / 493.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3224, allocations: 0 / 493.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.3224, allocations: 0 / 493.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.791e-05/0.3225, allocations: 1.188 kB / 493.6 MB, free: 15.11 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.006363/0.3289, allocations: 2.967 MB / 496.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3289, allocations: 8.438 kB / 496.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008431/0.3298, allocations: 302.6 kB / 496.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.3324, allocations: 1.424 MB / 498.3 MB, free: 11.34 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.0002542/0.3327, allocations: 243.9 kB / 498.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.333, allocations: 232 kB / 498.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005165/0.3381, allocations: 2.977 MB / 0.49 GB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.205e-05/0.3382, allocations: 3.953 kB / 0.49 GB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002179/0.3385, allocations: 96 kB / 0.4901 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.3386, allocations: 104.5 kB / 0.4902 GB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004006/0.3426, allocations: 2.379 MB / 0.4925 GB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.3547, allocations: 8.713 MB / 0.501 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.3573, allocations: 1.636 MB / 0.5026 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.3589, allocations: 0.9706 MB / 0.5036 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002337/0.3591, allocations: 126 kB / 0.5037 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/0.3604, allocations: 0.785 MB / 0.5044 GB, free: 8.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.655e-06/0.3604, allocations: 0 / 0.5044 GB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01417/0.3745, allocations: 6.997 MB / 0.5113 GB, free: 1.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.3747, allocations: 248.3 kB / 0.5115 GB, free: 1.133 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.001651/0.3764, allocations: 1.232 MB / 0.5127 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.3765, allocations: 49.7 kB / 0.5128 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007805/0.3773, allocations: 1.043 MB / 0.5138 GB, free: 14.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/0.3776, allocations: 436.3 kB / 0.5142 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004122/0.378, allocations: 263.5 kB / 0.5145 GB, free: 14.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.3781, allocations: 309.1 kB / 0.5147 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.3793, allocations: 0.7191 MB / 0.5154 GB, free: 13.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.3807, allocations: 1.127 MB / 0.5165 GB, free: 11.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008256/0.389, allocations: 3.606 MB / 0.5201 GB, free: 7.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.389, allocations: 4 kB / 0.5201 GB, free: 7.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004213/0.3932, allocations: 2.565 MB / 0.5226 GB, free: 5.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.3933, allocations: 49.62 kB / 0.5226 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3933, allocations: 8 kB / 0.5226 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.3945, allocations: 0.5039 MB / 0.5231 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.3956, allocations: 311.5 kB / 0.5234 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007994/0.4036, allocations: 8.8 MB / 0.532 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.4053, allocations: 131.9 kB / 0.5321 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.4054, allocations: 59.98 kB / 0.5322 GB, free: 10.95 MB / 414.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.002071/0.4075, allocations: 1.283 MB / 0.5335 GB, free: 9.664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001315/0.4088, allocations: 1.1 MB / 0.5345 GB, free: 8.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007772/0.4166, allocations: 3.543 MB / 0.538 GB, free: 4.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.204e-05/0.4167, allocations: 4 kB / 0.538 GB, free: 4.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004124/0.4208, allocations: 2.53 MB / 0.5405 GB, free: 2.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.4209, allocations: 33.7 kB / 0.5405 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4209, allocations: 12 kB / 0.5405 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.422, allocations: 0.5072 MB / 0.541 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009942/0.423, allocations: 291.5 kB / 0.5413 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007433/0.4304, allocations: 8.8 MB / 0.5499 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.432, allocations: 135.9 kB / 0.55 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.4321, allocations: 59.98 kB / 0.5501 GB, free: 7.695 MB / 430.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.0004396/0.4326, allocations: 302.5 kB / 0.5503 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.4328, allocations: 151.1 kB / 0.5505 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/0.4366, allocations: 2.207 MB / 0.5526 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.4366, allocations: 15.94 kB / 0.5527 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4366, allocations: 4 kB / 0.5527 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.4367, allocations: 11.97 kB / 0.5527 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007474/0.4441, allocations: 4.729 MB / 0.5573 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/0.4442, allocations: 4 kB / 0.5573 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/0.445, allocations: 203.7 kB / 0.5575 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.4463, allocations: 0.5128 MB / 0.558 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4464, allocations: 43.97 kB / 0.558 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007226/0.4537, allocations: 8.623 MB / 0.5665 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.4537, allocations: 8.141 kB / 0.5665 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005261/0.459, allocations: 3.267 MB / 0.5697 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008124/0.4598, allocations: 376 kB / 0.57 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.46, allocations: 35.98 kB / 0.57 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008951/0.4609, allocations: 99.89 kB / 0.5701 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/0.4612, allocations: 116.7 kB / 0.5703 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/0.4613, allocations: 35.98 kB / 0.5703 GB, free: 2.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001062/0.4624, allocations: 0.8185 MB / 0.5711 GB, free: 1.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4624, allocations: 0 / 0.5711 GB, free: 1.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002353/0.4647, allocations: 0.7852 MB / 0.5719 GB, free: 496 kB / 446.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.0003395/0.4651, allocations: 200.9 kB / 0.572 GB, free: 288 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009099/0.4742, allocations: 6.748 MB / 0.5786 GB, free: 9.293 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.453e-06/0.4742, allocations: 4 kB / 0.5786 GB, free: 9.289 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003794/0.478, allocations: 2.841 MB / 0.5814 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.4798, allocations: 403.3 kB / 0.5818 GB, free: 5.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00613/0.4859, allocations: 4.532 MB / 0.5862 GB, free: 1.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2165/0.7024, allocations: 1.829 MB / 0.588 GB, free: 111.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001544/0.704, allocations: 422.6 kB / 0.5884 GB, free: 111.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.7043, allocations: 100.1 kB / 0.5885 GB, free: 111.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.362e-06/0.7043, allocations: 0.875 kB / 0.5885 GB, free: 111.2 MB / 462.1 MB Notification: Performance of Templates: time 0.05023/0.7545, allocations: 32.27 MB / 0.62 GB, free: 100 MB / 462.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & ./EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)