Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.ElectricDrives.TestingModels.StartASMA") translateModel(EHPTlib.ElectricDrives.TestingModels.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_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.00907/0.00907, allocations: 102 kB / 15.73 MB, free: 6.051 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.001822/0.001822, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.416/1.416, 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.04054/0.04054, allocations: 8.048 MB / 298.6 MB, free: 6.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 413.1 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1193, allocations: 51.2 MB / 464.3 MB, free: 3.031 MB / 334.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.01811/0.1375, allocations: 15.05 MB / 479.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.1479, allocations: 3.733 MB / 483 MB, free: 180 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003618/0.1516, allocations: 87.69 kB / 483.1 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.154, allocations: 0.7407 MB / 483.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005156/0.1592, allocations: 1.277 MB / 485.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.1616, allocations: 0.7451 MB / 485.9 MB, free: 13.31 MB / 366.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.007117/0.1687, allocations: 4.568 MB / 490.5 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006589/0.1753, allocations: 3.475 MB / 493.9 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004355/0.1797, allocations: 2.04 MB / 496 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005305/0.185, allocations: 2.503 MB / 498.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002054/0.1871, allocations: 0.5391 MB / 499 MB, free: 92 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.1899, allocations: 0.621 MB / 499.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002834/0.1927, allocations: 1.484 MB / 0.4894 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005698/0.1984, allocations: 2.404 MB / 0.4917 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.2086, allocations: 6.99 MB / 0.4985 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.2087, allocations: 0 / 0.4985 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2087, allocations: 0 / 0.4985 GB, free: 4.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002469/0.2089, allocations: 0 / 0.4985 GB, free: 4.555 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.3038/0.5128, allocations: 4.625 MB / 0.5031 GB, free: 42.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.5129, allocations: 12.25 kB / 0.5031 GB, free: 42.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002873/0.5157, allocations: 492 kB / 0.5035 GB, free: 41.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006865/0.5226, allocations: 2.358 MB / 0.5059 GB, free: 41.29 MB / 382.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004294/0.5231, allocations: 342.7 kB / 0.5062 GB, free: 41.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/0.5244, allocations: 380.2 kB / 0.5065 GB, free: 40.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/0.5367, allocations: 4.921 MB / 0.5113 GB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.5369, allocations: 18.98 kB / 0.5114 GB, free: 39.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/0.5372, allocations: 157.6 kB / 0.5115 GB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003005/0.5376, allocations: 183.8 kB / 0.5117 GB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009338/0.5469, allocations: 4.032 MB / 0.5156 GB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/0.5726, allocations: 14.61 MB / 0.5299 GB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/0.5763, allocations: 2.645 MB / 0.5325 GB, free: 25.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002919/0.5793, allocations: 1.685 MB / 0.5341 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003219/0.5796, allocations: 142.9 kB / 0.5343 GB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.081e-05/0.5797, allocations: 56.5 kB / 0.5343 GB, free: 23.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=171): time 4.739e-06/0.5797, allocations: 0 / 0.5343 GB, free: 23.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.0332/0.6129, allocations: 13.28 MB / 0.5473 GB, free: 9.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.613, allocations: 128.8 kB / 0.5474 GB, free: 9.836 MB / 382.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.003983/0.617, allocations: 2.229 MB / 0.5496 GB, free: 7.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003076/0.6173, allocations: 57.7 kB / 0.5496 GB, free: 7.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009449/0.6183, allocations: 1.674 MB / 0.5513 GB, free: 5.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006381/0.6189, allocations: 0.7028 MB / 0.552 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007768/0.6197, allocations: 432.5 kB / 0.5524 GB, free: 4.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.6198, allocations: 301.1 kB / 0.5527 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.6216, allocations: 1.233 MB / 0.5539 GB, free: 3.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.6236, allocations: 1.875 MB / 0.5557 GB, free: 1.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/0.6379, allocations: 6.136 MB / 0.5617 GB, free: 10.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/0.638, allocations: 12.78 kB / 0.5617 GB, free: 10.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.0106/0.6486, allocations: 4.507 MB / 0.5661 GB, free: 6.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.6486, allocations: 18.34 kB / 0.5661 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.115e-05/0.6487, allocations: 16 kB / 0.5661 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/0.6511, allocations: 1.001 MB / 0.5671 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.6531, allocations: 0.5049 MB / 0.5676 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.018/0.6711, allocations: 17.58 MB / 0.5848 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004043/0.6752, allocations: 167.7 kB / 0.5849 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000919/0.6762, allocations: 104 kB / 0.585 GB, free: 1.527 MB / 414.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.005801/0.682, allocations: 2.196 MB / 0.5872 GB, free: 15.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002904/0.6849, allocations: 1.849 MB / 0.589 GB, free: 13.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01529/0.7002, allocations: 6.084 MB / 0.5949 GB, free: 6.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.346e-05/0.7003, allocations: 9.312 kB / 0.5949 GB, free: 6.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.00881/0.7091, allocations: 4.459 MB / 0.5993 GB, free: 2.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.7092, allocations: 12 kB / 0.5993 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/0.7092, allocations: 20 kB / 0.5993 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002359/0.7116, allocations: 0.9984 MB / 0.6003 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.7136, allocations: 0.4953 MB / 0.6008 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01742/0.7311, allocations: 17.58 MB / 0.6179 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/0.7342, allocations: 163.7 kB / 0.6181 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006766/0.7349, allocations: 104 kB / 0.6182 GB, free: 13.83 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.001421/0.7363, allocations: 375.5 kB / 0.6186 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/0.7374, allocations: 256.8 kB / 0.6188 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008424/0.7459, allocations: 3.958 MB / 0.6227 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/0.746, allocations: 23.94 kB / 0.6227 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-05/0.746, allocations: 8 kB / 0.6227 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/0.746, allocations: 11.91 kB / 0.6227 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/0.7659, allocations: 8.201 MB / 0.6307 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.766, allocations: 8.938 kB / 0.6307 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.7674, allocations: 331.5 kB / 0.631 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002799/0.7702, allocations: 1.041 MB / 0.6321 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/0.7704, allocations: 63.95 kB / 0.6321 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/0.7876, allocations: 17.23 MB / 0.649 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.7876, allocations: 11.94 kB / 0.649 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.7982, allocations: 5.741 MB / 0.6546 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/0.8001, allocations: 0.5914 MB / 0.6551 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009258/0.801, allocations: 59.98 kB / 0.6552 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/0.8032, allocations: 147.8 kB / 0.6553 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006148/0.8039, allocations: 185.5 kB / 0.6555 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/0.8041, allocations: 71.97 kB / 0.6556 GB, free: 5.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003724/0.8078, allocations: 1.512 MB / 0.6571 GB, free: 4.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8079, allocations: 0 / 0.6571 GB, free: 4.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007601/0.8155, allocations: 1.371 MB / 0.6584 GB, free: 3.078 MB / 494.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.0006881/0.8162, allocations: 230.7 kB / 0.6586 GB, free: 2.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01938/0.8356, allocations: 10.12 MB / 0.6685 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/0.8356, allocations: 3.859 kB / 0.6685 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007289/0.8429, allocations: 4.26 MB / 0.6727 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005081/0.848, allocations: 0.6832 MB / 0.6733 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.8645, allocations: 7.745 MB / 0.6809 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004021/0.8686, allocations: 2.7 MB / 0.6835 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002872/0.8715, allocations: 0.7592 MB / 0.6843 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006716/0.8722, allocations: 163.4 kB / 0.6844 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/0.8722, allocations: 0 / 0.6844 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of Templates: time 0.3355/1.208, allocations: 51.89 MB / 0.7351 GB, free: 170.7 MB / 0.5294 GB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.makefile (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & ./EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1)