Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.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.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA") translateModel(EHPTlib.ElectricDrives.TestingModels.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005866/0.005866, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001113/0.001113, allocations: 193 kB / 16.67 MB, free: 5.977 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1751/0.1751, allocations: 8.026 MB / 298.6 MB, free: 2.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 413.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3072, allocations: 51.2 MB / 464.3 MB, free: 18.28 MB / 350.1 MB [/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: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) 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) 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*(1 - sqrt(1 - 0.0667))/(2*pi*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=3*sqrt(1 - 0.0667)/(2*pi*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*(1 - sqrt(1 - 0.0667))/(2*pi*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) 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. [/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 aimc0.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:5:3-5:71:writable] Warning: Parameter aimc0.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 aimc0.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) 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 aimc0.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 aimc0.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 aimc0.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 aimc0.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=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 aimc0.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*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 aimc0.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*sqrt(1 - 0.0667)/(2*pi*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 aimc0.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*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 aimc0.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 aimc0.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 aimc0.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=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 aimc0.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.01581/0.3231, allocations: 15.04 MB / 479.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009534/0.3326, allocations: 3.736 MB / 483 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003702/0.3364, allocations: 90.41 kB / 483.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002944/0.3393, allocations: 0.7423 MB / 483.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005973/0.3453, allocations: 1.269 MB / 485.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00312/0.3485, allocations: 0.7466 MB / 485.9 MB, free: 2.648 MB / 350.1 MB [/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/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc0.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 aimc0.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.008222/0.3567, allocations: 4.576 MB / 490.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009024/0.3657, allocations: 3.466 MB / 493.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005469/0.3713, allocations: 2.029 MB / 496 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006258/0.3776, allocations: 2.51 MB / 498.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001861/0.3795, allocations: 0.5391 MB / 499 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.3823, allocations: 0.6209 MB / 499.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.3843, allocations: 1.488 MB / 0.4894 GB, free: 8.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004761/0.3891, allocations: 2.4 MB / 0.4917 GB, free: 6.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008241/0.3973, allocations: 6.996 MB / 0.4985 GB, free: 15.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.3974, allocations: 0 / 0.4985 GB, free: 15.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3974, allocations: 7.875 kB / 0.4985 GB, free: 15.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002949/0.3977, allocations: 0 / 0.4985 GB, free: 15.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 978 * Number of variables: 978 Notification: Performance of Generate backend data structure: time 0.01279/0.4105, allocations: 4.614 MB / 0.5031 GB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.4106, allocations: 16.02 kB / 0.5031 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.4128, allocations: 491.5 kB / 0.5035 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005466/0.4183, allocations: 2.353 MB / 0.5058 GB, free: 7.559 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.0004057/0.4187, allocations: 350.8 kB / 0.5062 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/0.4199, allocations: 379.9 kB / 0.5065 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009951/0.4299, allocations: 4.922 MB / 0.5113 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.43, allocations: 15.83 kB / 0.5114 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005015/0.4306, allocations: 156 kB / 0.5115 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002395/0.4308, allocations: 183.3 kB / 0.5117 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00835/0.4392, allocations: 4.03 MB / 0.5156 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02974/0.4689, allocations: 14.62 MB / 0.5299 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004501/0.4735, allocations: 2.643 MB / 0.5325 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/0.4767, allocations: 1.693 MB / 0.5341 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003757/0.4771, allocations: 135.1 kB / 0.5343 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.427e-05/0.4772, allocations: 56.5 kB / 0.5343 GB, free: 9.777 MB / 414.1 MB Notification: Performance of pre-optimization done (n=171): time 4.609e-06/0.4772, allocations: 3.938 kB / 0.5343 GB, free: 9.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=205): time 0.03474/0.512, allocations: 13.28 MB / 0.5473 GB, free: 12.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.423e-05/0.5121, allocations: 124.8 kB / 0.5474 GB, free: 12.12 MB / 430.1 MB [/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 aimc0.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 aimc0.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/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004368/0.5165, allocations: 2.239 MB / 0.5496 GB, free: 9.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002299/0.5167, allocations: 61.7 kB / 0.5497 GB, free: 9.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.518, allocations: 1.671 MB / 0.5513 GB, free: 8.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006972/0.5187, allocations: 0.6931 MB / 0.552 GB, free: 7.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008755/0.5196, allocations: 432.4 kB / 0.5524 GB, free: 6.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.5197, allocations: 305.1 kB / 0.5527 GB, free: 6.664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.5218, allocations: 1.229 MB / 0.5539 GB, free: 5.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.5244, allocations: 1.868 MB / 0.5557 GB, free: 3.277 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/0.5398, allocations: 6.15 MB / 0.5617 GB, free: 12.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.491e-05/0.5398, allocations: 7.984 kB / 0.5617 GB, free: 12.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.008835/0.5487, allocations: 4.515 MB / 0.5661 GB, free: 8.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.5488, allocations: 12 kB / 0.5661 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.324e-05/0.5488, allocations: 20 kB / 0.5661 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/0.5513, allocations: 0.9924 MB / 0.5671 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/0.5534, allocations: 0.5031 MB / 0.5676 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/0.5713, allocations: 17.59 MB / 0.5848 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/0.574, allocations: 167.7 kB / 0.5849 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007269/0.5748, allocations: 103.9 kB / 0.585 GB, free: 3.734 MB / 462.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" 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] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.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.004471/0.5792, allocations: 2.2 MB / 0.5872 GB, free: 1.531 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.3388/0.9181, allocations: 1.839 MB / 0.589 GB, free: 107.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02252/0.9407, allocations: 6.085 MB / 0.5949 GB, free: 106.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.672e-05/0.9408, allocations: 9.844 kB / 0.5949 GB, free: 106.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.01252/0.9533, allocations: 4.454 MB / 0.5993 GB, free: 104.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.9534, allocations: 15.89 kB / 0.5993 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.62e-05/0.9534, allocations: 19.09 kB / 0.5993 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/0.956, allocations: 0.996 MB / 0.6003 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.9581, allocations: 0.4899 MB / 0.6008 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/0.9737, allocations: 17.59 MB / 0.6179 GB, free: 90.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.9764, allocations: 166.9 kB / 0.6181 GB, free: 90.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005368/0.9769, allocations: 101.5 kB / 0.6182 GB, free: 90.46 MB / 462.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" 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] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.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: 87 * Number of states: 0 () * Number of discrete variables: 4 (logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,actuator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 8 systems {(2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%), (2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008836/0.9778, allocations: 367.7 kB / 0.6185 GB, free: 90.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008158/0.9787, allocations: 262.3 kB / 0.6188 GB, free: 90.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007339/0.986, allocations: 3.95 MB / 0.6227 GB, free: 88.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.986, allocations: 23.25 kB / 0.6227 GB, free: 88.47 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.438e-05/0.9861, allocations: 15.47 kB / 0.6227 GB, free: 88.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.9861, allocations: 8.891 kB / 0.6227 GB, free: 88.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/1.004, allocations: 8.217 MB / 0.6307 GB, free: 84.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/1.004, allocations: 11.64 kB / 0.6307 GB, free: 84.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.005, allocations: 323.4 kB / 0.631 GB, free: 84.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/1.008, allocations: 1.04 MB / 0.6321 GB, free: 84.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/1.008, allocations: 65.81 kB / 0.6321 GB, free: 84.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/1.021, allocations: 17.23 MB / 0.6489 GB, free: 69.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/1.021, allocations: 11.94 kB / 0.649 GB, free: 69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009638/1.03, allocations: 5.738 MB / 0.6546 GB, free: 63.17 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/1.032, allocations: 0.5838 MB / 0.6551 GB, free: 62.56 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007789/1.033, allocations: 66.23 kB / 0.6552 GB, free: 62.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/1.035, allocations: 143.8 kB / 0.6553 GB, free: 62.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004738/1.035, allocations: 193.1 kB / 0.6555 GB, free: 62.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/1.036, allocations: 67.98 kB / 0.6556 GB, free: 62.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002602/1.038, allocations: 1.52 MB / 0.6571 GB, free: 60.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.038, allocations: 0 / 0.6571 GB, free: 60.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005947/1.044, allocations: 1.376 MB / 0.6584 GB, free: 59.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (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.0005891/1.045, allocations: 226.7 kB / 0.6586 GB, free: 58.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01415/1.059, allocations: 10.13 MB / 0.6685 GB, free: 48.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/1.059, allocations: 4 kB / 0.6685 GB, free: 48.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006026/1.065, allocations: 4.251 MB / 0.6727 GB, free: 44.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004718/1.07, allocations: 0.6826 MB / 0.6733 GB, free: 43.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.084, allocations: 7.737 MB / 0.6809 GB, free: 35.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003127/1.087, allocations: 2.686 MB / 0.6835 GB, free: 32.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002745/1.09, allocations: 0.7592 MB / 0.6843 GB, free: 32.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006723/1.09, allocations: 171.4 kB / 0.6844 GB, free: 31.98 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/1.09, allocations: 0 / 0.6844 GB, free: 31.98 MB / 462.1 MB Notification: Performance of Templates: time 0.08782/1.178, allocations: 51.89 MB / 0.7351 GB, free: 12.56 MB / 494.1 MB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.makefile (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & ./EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1)