Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.StartASMA") translateModel(EHPTlib.ElectricDrives.TestingModels.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001342/0.001342, allocations: 96.94 kB / 16.24 MB, free: 6.391 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.001575/0.001575, allocations: 192.4 kB / 17.18 MB, free: 5.98 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.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03864/0.03864, allocations: 8.023 MB / 299 MB, free: 6.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.91 kB / 361.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1696, allocations: 51.18 MB / 412.4 MB, free: 26.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.01063/0.1803, allocations: 14.96 MB / 427.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005285/0.1856, allocations: 3.717 MB / 431.1 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008693/0.1865, allocations: 83.69 kB / 431.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.1876, allocations: 0.7249 MB / 431.9 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.1895, allocations: 1.203 MB / 433.1 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000965/0.1904, allocations: 0.7519 MB / 433.8 MB, free: 4.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002796/0.1932, allocations: 4.515 MB / 438.4 MB, free: 296 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00349/0.1967, allocations: 3.471 MB / 441.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.1989, allocations: 2.001 MB / 443.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.2015, allocations: 2.471 MB / 446.3 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006391/0.2022, allocations: 0.543 MB / 446.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009244/0.2031, allocations: 0.6326 MB / 447.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.2043, allocations: 1.484 MB / 449 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002119/0.2065, allocations: 2.4 MB / 451.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005441/0.2119, allocations: 6.885 MB / 458.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2119, allocations: 4 kB / 458.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2119, allocations: 0 / 458.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.451e-05/0.212, allocations: 4 kB / 458.3 MB, free: 12.27 MB / 334.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.007893/0.2199, allocations: 4.61 MB / 462.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.22, allocations: 8.031 kB / 462.9 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.2211, allocations: 487.6 kB / 463.3 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.2246, allocations: 2.287 MB / 465.6 MB, free: 4.766 MB / 334.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.0003116/0.2249, allocations: 350.8 kB / 466 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005363/0.2254, allocations: 379.8 kB / 466.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007285/0.2327, allocations: 4.922 MB / 471.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-05/0.2328, allocations: 15.91 kB / 471.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003214/0.2331, allocations: 152 kB / 471.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001763/0.2333, allocations: 179.3 kB / 471.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006294/0.2396, allocations: 4.038 MB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02052/0.2602, allocations: 14.78 MB / 490.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003617/0.2638, allocations: 2.643 MB / 493.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.2666, allocations: 1.701 MB / 494.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.2669, allocations: 127.1 kB / 494.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.2669, allocations: 56.5 kB / 495 MB, free: 6.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=171): time 3.887e-06/0.2669, allocations: 0 / 495 MB, free: 6.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=205): time 0.0294/0.2963, allocations: 13.28 MB / 0.4963 GB, free: 9.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.2964, allocations: 124.8 kB / 0.4964 GB, free: 9.176 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc0.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc0.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter 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: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:29:3-32:67:writable] Warning: Parameter aimc0.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc0.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=2.898223593858831 / (6.283185307179586 * aimc0.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter 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/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:23:3-25:67:writable] Warning: Parameter aimc0.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc0.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc0.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter 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: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: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: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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter 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/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.2996, allocations: 2.299 MB / 0.4987 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.2997, allocations: 61.64 kB / 0.4987 GB, free: 6.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.3008, allocations: 1.675 MB / 0.5004 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005167/0.3013, allocations: 0.7009 MB / 0.5011 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006586/0.302, allocations: 428.5 kB / 0.5015 GB, free: 3.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.3021, allocations: 301.1 kB / 0.5018 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.304, allocations: 1.241 MB / 0.503 GB, free: 2.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.3063, allocations: 1.865 MB / 0.5048 GB, free: 264 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1644/0.4707, allocations: 6.173 MB / 0.5108 GB, free: 84.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/0.4708, allocations: 5.906 kB / 0.5108 GB, free: 84.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.007384/0.4782, allocations: 4.504 MB / 0.5152 GB, free: 83.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.4782, allocations: 18.41 kB / 0.5152 GB, free: 83.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/0.4783, allocations: 19.75 kB / 0.5153 GB, free: 83.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00228/0.4806, allocations: 1.007 MB / 0.5162 GB, free: 82.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.4822, allocations: 0.4987 MB / 0.5167 GB, free: 82.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.4941, allocations: 17.61 MB / 0.5339 GB, free: 68.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.4961, allocations: 170 kB / 0.5341 GB, free: 67.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/0.4965, allocations: 104 kB / 0.5342 GB, free: 67.75 MB / 382.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.003046/0.4995, allocations: 2.191 MB / 0.5363 GB, free: 65.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001736/0.5013, allocations: 1.845 MB / 0.5381 GB, free: 63.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01167/0.5129, allocations: 6.118 MB / 0.5441 GB, free: 57.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.239e-05/0.513, allocations: 4 kB / 0.5441 GB, free: 57.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.005867/0.5188, allocations: 4.457 MB / 0.5485 GB, free: 52.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5189, allocations: 16 kB / 0.5485 GB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.5189, allocations: 24 kB / 0.5485 GB, free: 52.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.5208, allocations: 0.9946 MB / 0.5495 GB, free: 51.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.5224, allocations: 0.4953 MB / 0.55 GB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.5338, allocations: 17.59 MB / 0.5671 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.5357, allocations: 161.9 kB / 0.5673 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.536, allocations: 104 kB / 0.5674 GB, free: 32.28 MB / 382.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.0005479/0.5365, allocations: 365.5 kB / 0.5677 GB, free: 31.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/0.537, allocations: 256.3 kB / 0.568 GB, free: 31.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/0.5424, allocations: 3.962 MB / 0.5719 GB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.5424, allocations: 7.969 kB / 0.5719 GB, free: 27.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.5425, allocations: 0 / 0.5719 GB, free: 27.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009596/0.5434, allocations: 0.5847 MB / 0.5724 GB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004402/0.5439, allocations: 47.98 kB / 0.5725 GB, free: 27.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.5453, allocations: 163.7 kB / 0.5726 GB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/0.5456, allocations: 169.7 kB / 0.5728 GB, free: 26.73 MB / 382.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:9746:5-9747:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007536/0.5464, allocations: 286.8 kB / 0.5731 GB, free: 26.45 MB / 382.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model EHPTlib.ElectricDrives.TestingModels.StartASMA could not be translated