Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.ElectricDrives.TestingModels.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA") translateModel(EHPTlib.ElectricDrives.TestingModels.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 117.6 kB / 16.42 MB, free: 6.012 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.002113/0.002113, allocations: 184.2 kB / 17.35 MB, free: 5.629 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03908/0.03908, allocations: 8.034 MB / 299.2 MB, free: 6.805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 413.8 MB, free: 22.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07616/0.07735, allocations: 51.19 MB / 464.9 MB, free: 3.172 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.01576/0.09314, allocations: 15.05 MB / 480 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007105/0.1003, allocations: 3.729 MB / 483.7 MB, free: 332 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.1022, allocations: 87.62 kB / 483.8 MB, free: 244 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.1045, allocations: 0.7446 MB / 484.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.1082, allocations: 1.277 MB / 485.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.1101, allocations: 0.7451 MB / 486.6 MB, free: 13.45 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.005147/0.1152, allocations: 4.569 MB / 491.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004388/0.1196, allocations: 3.479 MB / 494.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.1223, allocations: 2.036 MB / 496.7 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003619/0.126, allocations: 2.495 MB / 499.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.1271, allocations: 0.5391 MB / 499.7 MB, free: 244 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.1288, allocations: 0.6249 MB / 0.4886 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001781/0.1306, allocations: 1.496 MB / 0.49 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002674/0.1333, allocations: 2.4 MB / 0.4924 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005705/0.139, allocations: 6.99 MB / 0.4992 GB, free: 4.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.139, allocations: 0 / 0.4992 GB, free: 4.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.139, allocations: 0 / 0.4992 GB, free: 4.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.871e-05/0.1391, allocations: 0 / 0.4992 GB, free: 4.691 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.008157/0.1473, allocations: 4.622 MB / 0.5037 GB, free: 4 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.1701/0.3173, allocations: 8.703 kB / 0.5037 GB, free: 42.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.3197, allocations: 491.5 kB / 0.5042 GB, free: 42.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004898/0.3246, allocations: 2.361 MB / 0.5065 GB, free: 42.24 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.0003212/0.325, allocations: 343.4 kB / 0.5068 GB, free: 42.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006871/0.3257, allocations: 383.7 kB / 0.5072 GB, free: 41.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00813/0.3338, allocations: 4.928 MB / 0.512 GB, free: 39.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.872e-05/0.3339, allocations: 16.5 kB / 0.512 GB, free: 39.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003248/0.3343, allocations: 155.9 kB / 0.5122 GB, free: 39.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/0.3344, allocations: 181.7 kB / 0.5124 GB, free: 39.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006909/0.3414, allocations: 4.038 MB / 0.5163 GB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/0.3597, allocations: 14.6 MB / 0.5306 GB, free: 28.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.363, allocations: 2.638 MB / 0.5331 GB, free: 26.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/0.3654, allocations: 1.691 MB / 0.5348 GB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.3656, allocations: 134.9 kB / 0.5349 GB, free: 24.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3657, allocations: 60.5 kB / 0.535 GB, free: 24.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=171): time 3.597e-06/0.3657, allocations: 0 / 0.535 GB, free: 24.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.02685/0.3925, allocations: 13.28 MB / 0.5479 GB, free: 11.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3926, allocations: 136.7 kB / 0.5481 GB, free: 10.93 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.002538/0.3951, allocations: 2.235 MB / 0.5503 GB, free: 8.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.3953, allocations: 57.7 kB / 0.5503 GB, free: 8.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006932/0.396, allocations: 1.666 MB / 0.5519 GB, free: 6.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/0.3963, allocations: 0.7002 MB / 0.5526 GB, free: 6.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005667/0.3969, allocations: 424.5 kB / 0.553 GB, free: 5.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.563e-05/0.397, allocations: 309.1 kB / 0.5533 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.3985, allocations: 1.229 MB / 0.5545 GB, free: 4.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.4003, allocations: 1.871 MB / 0.5564 GB, free: 2.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/0.4134, allocations: 6.155 MB / 0.5624 GB, free: 11.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.4134, allocations: 4 kB / 0.5624 GB, free: 11.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.007307/0.4207, allocations: 4.511 MB / 0.5668 GB, free: 7.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.4208, allocations: 12 kB / 0.5668 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/0.4208, allocations: 23.98 kB / 0.5668 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/0.4232, allocations: 0.9941 MB / 0.5678 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/0.425, allocations: 0.5068 MB / 0.5683 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/0.441, allocations: 17.59 MB / 0.5854 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/0.4434, allocations: 163.8 kB / 0.5856 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.4436, allocations: 104 kB / 0.5857 GB, free: 2.629 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.003536/0.4472, allocations: 2.188 MB / 0.5878 GB, free: 448 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002203/0.4494, allocations: 1.849 MB / 0.5896 GB, free: 14.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01351/0.4629, allocations: 6.083 MB / 0.5956 GB, free: 7.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.468e-05/0.4629, allocations: 7.938 kB / 0.5956 GB, free: 7.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.007245/0.4702, allocations: 4.461 MB / 0.6 GB, free: 3.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4702, allocations: 16 kB / 0.6 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.4703, allocations: 19.98 kB / 0.6 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/0.4725, allocations: 1.002 MB / 0.601 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.4742, allocations: 499.2 kB / 0.6014 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/0.4903, allocations: 17.59 MB / 0.6186 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.4927, allocations: 159.8 kB / 0.6188 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.4929, allocations: 99.98 kB / 0.6189 GB, free: 14.93 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.0008533/0.4937, allocations: 373.5 kB / 0.6192 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/0.4942, allocations: 260.8 kB / 0.6195 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006628/0.5009, allocations: 3.957 MB / 0.6233 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.5009, allocations: 11.97 kB / 0.6233 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.5009, allocations: 0 / 0.6233 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.5022, allocations: 0.5876 MB / 0.6239 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/0.5025, allocations: 44 kB / 0.624 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.504, allocations: 159.8 kB / 0.6241 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003501/0.5043, allocations: 173.7 kB / 0.6243 GB, free: 9.281 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.0008459/0.5052, allocations: 270.4 kB / 0.6245 GB, free: 9.031 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