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.001251/0.001251, allocations: 116.1 kB / 16.42 MB, free: 6.504 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.001252/0.001252, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04096/0.04096, allocations: 8.366 MB / 299.6 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.89 kB / 414.2 MB, free: 21.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07595/0.07715, allocations: 51.26 MB / 465.5 MB, free: 2.527 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.0151/0.09228, allocations: 15.04 MB / 480.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.09909, allocations: 3.725 MB / 484.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.1006, allocations: 87.62 kB / 484.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.1022, allocations: 0.7484 MB / 485.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.1051, allocations: 1.274 MB / 486.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.1065, allocations: 0.7475 MB / 487.1 MB, free: 12.82 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.004209/0.1107, allocations: 4.58 MB / 491.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.1142, allocations: 3.475 MB / 495.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.1165, allocations: 2.029 MB / 497.2 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002748/0.1193, allocations: 2.503 MB / 499.7 MB, free: 136 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006459/0.1199, allocations: 0.5352 MB / 0.4885 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009462/0.1209, allocations: 0.6287 MB / 0.4891 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.1222, allocations: 1.496 MB / 0.4906 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002269/0.1244, allocations: 2.396 MB / 0.4929 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006159/0.1306, allocations: 7.007 MB / 0.4998 GB, free: 4.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1306, allocations: 0 / 0.4998 GB, free: 4.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1306, allocations: 0 / 0.4998 GB, free: 4.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001243/0.1308, allocations: 0 / 0.4998 GB, free: 4.031 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.1686/0.2994, allocations: 4.729 MB / 0.5044 GB, free: 41.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2994, allocations: 9.125 kB / 0.5044 GB, free: 41.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3007, allocations: 0.5073 MB / 0.5049 GB, free: 41.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/0.3042, allocations: 2.375 MB / 0.5072 GB, free: 40.73 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.000271/0.3045, allocations: 342.5 kB / 0.5075 GB, free: 40.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004786/0.305, allocations: 381 kB / 0.5079 GB, free: 40.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007315/0.3123, allocations: 4.924 MB / 0.5127 GB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-05/0.3124, allocations: 24.97 kB / 0.5127 GB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/0.3127, allocations: 152.1 kB / 0.5129 GB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.3129, allocations: 180.7 kB / 0.513 GB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006696/0.3196, allocations: 4.031 MB / 0.517 GB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0172/0.3368, allocations: 14.66 MB / 0.5313 GB, free: 27.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/0.3398, allocations: 2.638 MB / 0.5339 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002382/0.3422, allocations: 1.7 MB / 0.5355 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.3425, allocations: 135 kB / 0.5357 GB, free: 22.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3425, allocations: 48.56 kB / 0.5357 GB, free: 22.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=171): time 3.666e-06/0.3425, allocations: 0 / 0.5357 GB, free: 22.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.02722/0.3697, allocations: 13.35 MB / 0.5487 GB, free: 9.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3698, allocations: 128.8 kB / 0.5489 GB, free: 9.168 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.002425/0.3722, allocations: 2.233 MB / 0.551 GB, free: 6.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.3724, allocations: 61.7 kB / 0.5511 GB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/0.3731, allocations: 1.711 MB / 0.5528 GB, free: 5.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.3734, allocations: 0.7311 MB / 0.5535 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005738/0.374, allocations: 440.6 kB / 0.5539 GB, free: 3.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.084e-05/0.3741, allocations: 305.1 kB / 0.5542 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.3757, allocations: 1.225 MB / 0.5554 GB, free: 2.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.3775, allocations: 1.875 MB / 0.5572 GB, free: 276 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01482/0.3923, allocations: 6.142 MB / 0.5632 GB, free: 9.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/0.3923, allocations: 11.94 kB / 0.5632 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.007926/0.4003, allocations: 4.521 MB / 0.5677 GB, free: 5.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.4003, allocations: 16 kB / 0.5677 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/0.4004, allocations: 20 kB / 0.5677 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002382/0.4027, allocations: 0.9964 MB / 0.5687 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.4046, allocations: 0.5031 MB / 0.5692 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/0.421, allocations: 17.6 MB / 0.5863 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.4231, allocations: 167.8 kB / 0.5865 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/0.4234, allocations: 104 kB / 0.5866 GB, free: 0.7383 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.00353/0.4269, allocations: 2.196 MB / 0.5887 GB, free: 14.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002325/0.4292, allocations: 1.849 MB / 0.5906 GB, free: 12.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01366/0.4429, allocations: 6.072 MB / 0.5965 GB, free: 6.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.171e-05/0.4429, allocations: 12 kB / 0.5965 GB, free: 6.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.007036/0.45, allocations: 4.483 MB / 0.6009 GB, free: 1.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.45, allocations: 12 kB / 0.6009 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.45, allocations: 20 kB / 0.6009 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/0.4523, allocations: 0.9885 MB / 0.6019 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.454, allocations: 0.4954 MB / 0.6023 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/0.4694, allocations: 17.6 MB / 0.6195 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.4713, allocations: 155.8 kB / 0.6197 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/0.4715, allocations: 104 kB / 0.6198 GB, free: 13 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.0005619/0.4721, allocations: 365 kB / 0.6201 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000495/0.4726, allocations: 270.2 kB / 0.6204 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006636/0.4793, allocations: 3.965 MB / 0.6243 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.4793, allocations: 15.78 kB / 0.6243 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4793, allocations: 0 / 0.6243 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.4804, allocations: 0.5929 MB / 0.6249 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004172/0.4808, allocations: 47.98 kB / 0.6249 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.4822, allocations: 155.8 kB / 0.6251 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003594/0.4826, allocations: 177.7 kB / 0.6252 GB, free: 7.332 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (2): if const1.k > logic.tauToDW.Tmax then logic.tauToDW.tauIsMax = true logic.tauToDW.Tmax = 3.0 * logic.tauToDW.Rr * logic.tauToDW.y * logic.tauToDW.Kw ^ 2.0 / ((/*Real*/(logic.tauToDW.pp) * logic.tauToDW.y * logic.tauToDW.Lstray) ^ 2.0 + logic.tauToDW.Rr ^ 2.0) elseif const1.k < (-logic.tauToDW.Tmax) then logic.tauToDW.tauIsMax = true -logic.tauToDW.Tmax = 3.0 * logic.tauToDW.Rr * logic.tauToDW.y * logic.tauToDW.Kw ^ 2.0 / ((/*Real*/(logic.tauToDW.pp) * logic.tauToDW.y * logic.tauToDW.Lstray) ^ 2.0 + logic.tauToDW.Rr ^ 2.0) else logic.tauToDW.tauIsMax = false const1.k = 3.0 * logic.tauToDW.Rr * logic.tauToDW.y * logic.tauToDW.Kw ^ 2.0 / ((/*Real*/(logic.tauToDW.pp) * logic.tauToDW.y * logic.tauToDW.Lstray) ^ 2.0 + logic.tauToDW.Rr ^ 2.0) end if Variables: 1: logic.tauToDW.tauIsMax:DISCRETE(flow=false ) type: Boolean 2: logic.tauToDW.y:VARIABLE(flow=false ) type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008381/0.4835, allocations: 276.9 kB / 0.6255 GB, free: 7.066 MB / 462.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model EHPTlib.ElectricDrives.TestingModels.StartASMA could not be translated