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.008679/0.008679, allocations: 105 kB / 15.74 MB, free: 6.5 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.002267/0.002267, allocations: 201.7 kB / 16.68 MB, free: 6.375 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1914/0.1914, allocations: 8.027 MB / 298.6 MB, free: 2.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.89 kB / 413.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2892, allocations: 51.19 MB / 464.3 MB, free: 18.21 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.01619/0.3055, allocations: 15.05 MB / 479.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009223/0.3147, allocations: 3.729 MB / 483 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003491/0.3183, allocations: 93.5 kB / 483.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.3205, allocations: 0.744 MB / 483.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.3249, allocations: 1.27 MB / 485.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.3267, allocations: 0.7458 MB / 485.9 MB, free: 2.609 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.00637/0.3331, allocations: 4.579 MB / 490.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006994/0.3401, allocations: 3.475 MB / 493.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005567/0.3457, allocations: 2.033 MB / 496 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007598/0.3533, allocations: 2.504 MB / 498.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002738/0.3561, allocations: 0.5418 MB / 499 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/0.36, allocations: 0.6209 MB / 499.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003242/0.3633, allocations: 1.492 MB / 0.4894 GB, free: 8.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006711/0.37, allocations: 2.396 MB / 0.4917 GB, free: 6.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.3822, allocations: 7.007 MB / 0.4986 GB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3822, allocations: 0 / 0.4986 GB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3823, allocations: 0 / 0.4986 GB, free: 15.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003284/0.3826, allocations: 0 / 0.4986 GB, free: 15.13 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.01406/0.3967, allocations: 4.742 MB / 0.5032 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.3967, allocations: 8.031 kB / 0.5032 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/0.3996, allocations: 0.502 MB / 0.5037 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006602/0.4062, allocations: 2.371 MB / 0.506 GB, free: 7.387 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.0005095/0.4067, allocations: 350.8 kB / 0.5063 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/0.4082, allocations: 379.9 kB / 0.5067 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.4239, allocations: 4.926 MB / 0.5115 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002034/0.4241, allocations: 11.95 kB / 0.5115 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001229/0.4253, allocations: 160 kB / 0.5117 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002712/0.4256, allocations: 175.3 kB / 0.5118 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.4361, allocations: 4.042 MB / 0.5158 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03146/0.4676, allocations: 14.65 MB / 0.5301 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/0.4718, allocations: 2.652 MB / 0.5327 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/0.4749, allocations: 1.693 MB / 0.5343 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.4752, allocations: 131 kB / 0.5345 GB, free: 9.637 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.4753, allocations: 64.5 kB / 0.5345 GB, free: 9.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=171): time 3.707e-06/0.4753, allocations: 0 / 0.5345 GB, free: 9.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=205): time 0.03511/0.5104, allocations: 13.34 MB / 0.5476 GB, free: 12.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.18e-05/0.5106, allocations: 124.8 kB / 0.5477 GB, free: 11.87 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.005476/0.516, allocations: 2.241 MB / 0.5499 GB, free: 9.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002426/0.5163, allocations: 61.7 kB / 0.5499 GB, free: 9.535 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00179/0.5181, allocations: 1.711 MB / 0.5516 GB, free: 7.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009854/0.5191, allocations: 0.7398 MB / 0.5523 GB, free: 7.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.5202, allocations: 428.6 kB / 0.5527 GB, free: 6.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5203, allocations: 305.1 kB / 0.553 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.5226, allocations: 1.237 MB / 0.5542 GB, free: 5.086 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003254/0.5258, allocations: 1.868 MB / 0.556 GB, free: 2.938 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/0.5406, allocations: 6.146 MB / 0.562 GB, free: 12.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.21e-05/0.5407, allocations: 7.938 kB / 0.5621 GB, free: 12.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.008692/0.5494, allocations: 4.524 MB / 0.5665 GB, free: 7.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.5494, allocations: 12 kB / 0.5665 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.574e-05/0.5495, allocations: 20 kB / 0.5665 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.5518, allocations: 1 MB / 0.5675 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.5537, allocations: 0.4992 MB / 0.568 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.5728, allocations: 17.61 MB / 0.5852 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003344/0.5763, allocations: 167.8 kB / 0.5853 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000684/0.577, allocations: 99.98 kB / 0.5854 GB, free: 3.371 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.005657/0.5827, allocations: 2.196 MB / 0.5876 GB, free: 1.172 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.3637/0.9464, allocations: 1.837 MB / 0.5894 GB, free: 107.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01572/0.9622, allocations: 6.075 MB / 0.5953 GB, free: 106.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.773e-05/0.9623, allocations: 10.09 kB / 0.5953 GB, free: 106.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.008734/0.971, allocations: 4.471 MB / 0.5997 GB, free: 104.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.9711, allocations: 14.39 kB / 0.5997 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.534e-05/0.9711, allocations: 19.53 kB / 0.5997 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/0.9736, allocations: 0.9982 MB / 0.6007 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.9756, allocations: 0.4926 MB / 0.6012 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/0.9908, allocations: 17.59 MB / 0.6183 GB, free: 90.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/0.9935, allocations: 163 kB / 0.6185 GB, free: 90.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/0.9938, allocations: 105.3 kB / 0.6186 GB, free: 90.22 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.0006916/0.9945, allocations: 374.6 kB / 0.6189 GB, free: 89.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005578/0.9951, allocations: 267.2 kB / 0.6192 GB, free: 89.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007276/1.002, allocations: 3.962 MB / 0.6231 GB, free: 88.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/1.002, allocations: 25.55 kB / 0.6231 GB, free: 88.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.853e-05/1.002, allocations: 12.19 kB / 0.6231 GB, free: 88.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/1.002, allocations: 7.312 kB / 0.6231 GB, free: 88.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/1.019, allocations: 8.214 MB / 0.6311 GB, free: 84.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/1.02, allocations: 6.156 kB / 0.6311 GB, free: 84.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.021, allocations: 327.8 kB / 0.6315 GB, free: 84.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/1.023, allocations: 1.041 MB / 0.6325 GB, free: 84.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002204/1.024, allocations: 69.86 kB / 0.6325 GB, free: 84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/1.036, allocations: 17.24 MB / 0.6494 GB, free: 68.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.036, allocations: 8.062 kB / 0.6494 GB, free: 68.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008368/1.045, allocations: 5.764 MB / 0.655 GB, free: 62.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.046, allocations: 0.6027 MB / 0.6556 GB, free: 62.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007652/1.047, allocations: 59.98 kB / 0.6557 GB, free: 62.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/1.049, allocations: 143.8 kB / 0.6558 GB, free: 62.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004567/1.05, allocations: 189.5 kB / 0.656 GB, free: 61.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.05, allocations: 67.97 kB / 0.656 GB, free: 61.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002684/1.052, allocations: 1.516 MB / 0.6575 GB, free: 60.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.053, allocations: 0 / 0.6575 GB, free: 60.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007386/1.06, allocations: 1.377 MB / 0.6589 GB, free: 58.88 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.0006945/1.061, allocations: 227.5 kB / 0.6591 GB, free: 58.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01376/1.074, allocations: 10.14 MB / 0.669 GB, free: 48.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/1.074, allocations: 0 / 0.669 GB, free: 48.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005436/1.08, allocations: 4.258 MB / 0.6731 GB, free: 43.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00458/1.084, allocations: 0.6835 MB / 0.6738 GB, free: 43.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/1.099, allocations: 7.865 MB / 0.6815 GB, free: 35.13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/1.102, allocations: 2.686 MB / 0.6841 GB, free: 32.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002251/1.104, allocations: 0.7631 MB / 0.6849 GB, free: 31.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/1.105, allocations: 171.4 kB / 0.685 GB, free: 31.48 MB / 462.1 MB Notification: Performance of SimCode: time 1.313e-06/1.105, allocations: 0 / 0.685 GB, free: 31.48 MB / 462.1 MB Notification: Performance of Templates: time 0.08289/1.187, allocations: 51.89 MB / 0.7357 GB, free: 12.07 MB / 494.1 MB 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)