Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.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.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001221/0.001221, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03967/0.03967, allocations: 8.046 MB / 299.2 MB, free: 6.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.84 kB / 362.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2184, allocations: 51.19 MB / 413.3 MB, free: 26.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.0083/0.2267, allocations: 9.678 MB / 422.9 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005106/0.2319, allocations: 2.688 MB / 425.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.2337, allocations: 51.81 kB / 425.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.2351, allocations: 0.4885 MB / 426.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.2369, allocations: 0.6869 MB / 426.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.2379, allocations: 0.5371 MB / 427.4 MB, free: 11.84 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") 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.0) 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.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.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * aimc.fsNominal)) 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/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/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.0 * sqrt(1.0 - 0.0667) / (2.0 * aimc.pi * 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: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.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * 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: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.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. Notification: Performance of NFFlatten.flatten: time 0.002291/0.2402, allocations: 2.653 MB / 430 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.2421, allocations: 2.308 MB / 432.3 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.2435, allocations: 1.18 MB / 433.5 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.2447, allocations: 1.424 MB / 435 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.245, allocations: 336 kB / 435.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005226/0.2455, allocations: 423.8 kB / 435.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005546/0.2461, allocations: 0.8687 MB / 436.6 MB, free: 2.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.2471, allocations: 1.412 MB / 438 MB, free: 1.168 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003708/0.2508, allocations: 4.128 MB / 442.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.2509, allocations: 4 kB / 442.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2509, allocations: 4 kB / 442.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001537/0.251, allocations: 0 / 442.1 MB, free: 13.02 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.007105/0.2582, allocations: 2.897 MB / 445 MB, free: 10.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2582, allocations: 12.03 kB / 445 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006853/0.2589, allocations: 289.7 kB / 445.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.2614, allocations: 1.412 MB / 446.7 MB, free: 8.301 MB / 318.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.0002417/0.2616, allocations: 243.9 kB / 447 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.2619, allocations: 231.9 kB / 447.2 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004464/0.2664, allocations: 2.961 MB / 450.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.684e-05/0.2665, allocations: 15.83 kB / 450.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.2667, allocations: 100 kB / 450.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.2668, allocations: 100.5 kB / 450.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003887/0.2707, allocations: 2.383 MB / 452.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.2835, allocations: 8.686 MB / 461.4 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.2861, allocations: 1.64 MB / 463.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.2878, allocations: 0.9667 MB / 464 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.288, allocations: 122.1 kB / 464.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/0.2893, allocations: 0.7812 MB / 464.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.925e-06/0.2893, allocations: 3.938 kB / 464.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01471/0.304, allocations: 6.944 MB / 471.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.3042, allocations: 244.3 kB / 472.1 MB, free: 14.16 MB / 350.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 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.3063, allocations: 1.242 MB / 473.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.3064, allocations: 45.7 kB / 473.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008435/0.3073, allocations: 1.016 MB / 474.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.3077, allocations: 418.1 kB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004931/0.3082, allocations: 259.4 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.3083, allocations: 305.1 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.3096, allocations: 0.7231 MB / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.3112, allocations: 1.131 MB / 477.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008631/0.3198, allocations: 3.602 MB / 480.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/0.3199, allocations: 4 kB / 480.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004849/0.3247, allocations: 2.568 MB / 483.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.3248, allocations: 37.7 kB / 483.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.3248, allocations: 12 kB / 483.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.326, allocations: 0.496 MB / 484 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.3272, allocations: 303.5 kB / 484.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008463/0.3357, allocations: 8.807 MB / 493.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.3373, allocations: 123.9 kB / 493.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002789/0.3376, allocations: 63.98 kB / 493.2 MB, free: 8.023 MB / 366.1 MB Warning: Assuming fixed start value for the following 6 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002554/0.3402, allocations: 1.29 MB / 494.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001532/0.3417, allocations: 1.1 MB / 495.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008502/0.3503, allocations: 3.536 MB / 499.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.67e-05/0.3503, allocations: 8 kB / 499.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004544/0.3549, allocations: 2.521 MB / 0.4899 GB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.3549, allocations: 37.7 kB / 0.49 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.355, allocations: 8 kB / 0.49 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.3561, allocations: 0.5109 MB / 0.4905 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.3572, allocations: 295.5 kB / 0.4908 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008019/0.3652, allocations: 8.789 MB / 0.4993 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.3669, allocations: 139.9 kB / 0.4995 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/0.3672, allocations: 59.98 kB / 0.4995 GB, free: 4.781 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000608/0.3678, allocations: 297 kB / 0.4998 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.3682, allocations: 146.2 kB / 0.5 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/0.3722, allocations: 2.204 MB / 0.5021 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.3722, allocations: 19.92 kB / 0.5021 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.3723, allocations: 4 kB / 0.5021 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.3723, allocations: 11.92 kB / 0.5021 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1865/0.5588, allocations: 4.73 MB / 0.5068 GB, free: 88.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/0.5588, allocations: 3.406 kB / 0.5068 GB, free: 88.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008838/0.5597, allocations: 199.5 kB / 0.507 GB, free: 88.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.561, allocations: 0.5211 MB / 0.5075 GB, free: 88.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.5611, allocations: 36.95 kB / 0.5075 GB, free: 88.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006686/0.5678, allocations: 8.617 MB / 0.5159 GB, free: 81.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.5679, allocations: 7.844 kB / 0.5159 GB, free: 81.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005181/0.573, allocations: 3.253 MB / 0.5191 GB, free: 80.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009341/0.574, allocations: 367.1 kB / 0.5194 GB, free: 80.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004254/0.5744, allocations: 42.17 kB / 0.5195 GB, free: 80.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.5756, allocations: 100.1 kB / 0.5196 GB, free: 80.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/0.5759, allocations: 115.6 kB / 0.5197 GB, free: 80.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/0.576, allocations: 39.91 kB / 0.5197 GB, free: 80.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001193/0.5772, allocations: 0.8175 MB / 0.5205 GB, free: 79.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5772, allocations: 0 / 0.5205 GB, free: 79.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002467/0.5797, allocations: 0.7879 MB / 0.5213 GB, free: 79.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003446/0.58, allocations: 198.1 kB / 0.5215 GB, free: 79.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008422/0.5885, allocations: 6.732 MB / 0.5281 GB, free: 74.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.5885, allocations: 0 / 0.5281 GB, free: 74.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003631/0.5921, allocations: 2.851 MB / 0.5308 GB, free: 71.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.5942, allocations: 402.4 kB / 0.5312 GB, free: 71.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006882/0.6011, allocations: 4.44 MB / 0.5356 GB, free: 67.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.6028, allocations: 1.845 MB / 0.5374 GB, free: 65.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001282/0.6041, allocations: 424 kB / 0.5378 GB, free: 64.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.6044, allocations: 99.42 kB / 0.5379 GB, free: 64.83 MB / 382.1 MB Notification: Performance of SimCode: time 6.02e-07/0.6044, allocations: 0 / 0.5379 GB, free: 64.83 MB / 382.1 MB Notification: Performance of Templates: time 0.04305/0.6475, allocations: 31.79 MB / 0.5689 GB, free: 33.39 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & ./EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)