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.001044/0.001044, allocations: 107.7 kB / 16.36 MB, free: 5.824 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.001092/0.001092, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03647/0.03647, allocations: 8.041 MB / 299.2 MB, free: 6.801 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 362.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2059, allocations: 51.2 MB / 413.3 MB, free: 26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.007846/0.2138, allocations: 9.673 MB / 422.9 MB, free: 16.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.2183, allocations: 2.688 MB / 425.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007532/0.219, allocations: 51.81 kB / 425.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.2201, allocations: 0.4924 MB / 426.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.2214, allocations: 0.6713 MB / 426.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007846/0.2222, allocations: 0.537 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.00179/0.224, allocations: 2.669 MB / 430.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.2257, allocations: 2.304 MB / 432.4 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.2267, allocations: 1.18 MB / 433.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.2278, allocations: 1.428 MB / 435 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.2281, allocations: 336 kB / 435.3 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.2286, allocations: 419.8 kB / 435.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004991/0.2291, allocations: 0.8688 MB / 436.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008289/0.23, allocations: 1.416 MB / 438 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002833/0.2328, allocations: 4.128 MB / 442.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2328, allocations: 0 / 442.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2328, allocations: 0 / 442.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.742e-05/0.2329, allocations: 4 kB / 442.1 MB, free: 13.01 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.004772/0.2376, allocations: 2.893 MB / 445 MB, free: 10.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2377, allocations: 8.031 kB / 445 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005981/0.2383, allocations: 293.7 kB / 445.3 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.2405, allocations: 1.412 MB / 446.7 MB, free: 8.293 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.0002283/0.2408, allocations: 243.9 kB / 447 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.2411, allocations: 239.9 kB / 447.2 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/0.2454, allocations: 2.958 MB / 450.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/0.2455, allocations: 11.84 kB / 450.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.2457, allocations: 92 kB / 450.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.25e-05/0.2458, allocations: 112.5 kB / 450.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/0.2496, allocations: 2.379 MB / 452.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.2621, allocations: 8.69 MB / 461.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.2646, allocations: 1.636 MB / 463.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.2662, allocations: 0.9628 MB / 464 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.2665, allocations: 126 kB / 464.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.2677, allocations: 0.785 MB / 464.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.675e-06/0.2677, allocations: 0 / 464.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01323/0.2809, allocations: 6.94 MB / 471.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.2811, allocations: 248.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.001597/0.2827, allocations: 1.242 MB / 473.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.2828, allocations: 45.7 kB / 473.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007343/0.2835, allocations: 1.016 MB / 474.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.2838, allocations: 410.1 kB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/0.2842, allocations: 263.4 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.2843, allocations: 309.1 kB / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.2854, allocations: 0.7152 MB / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.2868, allocations: 1.135 MB / 477.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008161/0.295, allocations: 3.602 MB / 480.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.295, allocations: 7.938 kB / 480.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004168/0.2992, allocations: 2.572 MB / 483.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.2993, allocations: 38.02 kB / 483.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.2993, allocations: 16 kB / 483.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.3004, allocations: 0.4959 MB / 484 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.3015, allocations: 307.5 kB / 484.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007768/0.3093, allocations: 8.798 MB / 493.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.3107, allocations: 127.9 kB / 493.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.3108, allocations: 63.98 kB / 493.2 MB, free: 8.012 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.001967/0.3128, allocations: 1.285 MB / 494.5 MB, free: 6.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001315/0.3141, allocations: 1.107 MB / 495.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007758/0.3219, allocations: 3.532 MB / 499.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.926e-06/0.3219, allocations: 4 kB / 499.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004034/0.3259, allocations: 2.525 MB / 0.4899 GB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.326, allocations: 33.7 kB / 0.49 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.326, allocations: 12 kB / 0.49 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.3271, allocations: 0.5002 MB / 0.4905 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009997/0.3281, allocations: 299.5 kB / 0.4908 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007693/0.3358, allocations: 8.795 MB / 0.4993 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.3372, allocations: 131.9 kB / 0.4995 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.3373, allocations: 60.06 kB / 0.4995 GB, free: 4.777 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.0005094/0.3379, allocations: 296.8 kB / 0.4998 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.3381, allocations: 142.2 kB / 0.4999 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.3419, allocations: 2.207 MB / 0.5021 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.3419, allocations: 15.94 kB / 0.5021 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3419, allocations: 11.94 kB / 0.5021 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3419, allocations: 7.922 kB / 0.5021 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1744/0.5163, allocations: 4.731 MB / 0.5068 GB, free: 88.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.5164, allocations: 5.312 kB / 0.5068 GB, free: 88.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008547/0.5172, allocations: 200.3 kB / 0.507 GB, free: 88.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.5184, allocations: 0.5215 MB / 0.5075 GB, free: 88.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/0.5185, allocations: 35.83 kB / 0.5075 GB, free: 88.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006494/0.525, allocations: 8.621 MB / 0.5159 GB, free: 81.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5251, allocations: 7.844 kB / 0.5159 GB, free: 81.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.5297, allocations: 3.261 MB / 0.5191 GB, free: 80.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007368/0.5304, allocations: 361.3 kB / 0.5195 GB, free: 80.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.5307, allocations: 32.62 kB / 0.5195 GB, free: 80.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008653/0.5315, allocations: 104.2 kB / 0.5196 GB, free: 80.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.5318, allocations: 115.9 kB / 0.5197 GB, free: 80.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.5319, allocations: 39.31 kB / 0.5197 GB, free: 80.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009599/0.5328, allocations: 0.8211 MB / 0.5205 GB, free: 79.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5328, allocations: 0 / 0.5205 GB, free: 79.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002125/0.535, allocations: 0.7841 MB / 0.5213 GB, free: 79.7 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.0003077/0.5353, allocations: 199.6 kB / 0.5215 GB, free: 79.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007999/0.5433, allocations: 6.744 MB / 0.5281 GB, free: 74.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.5433, allocations: 0 / 0.5281 GB, free: 74.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003471/0.5468, allocations: 2.847 MB / 0.5309 GB, free: 71.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.5485, allocations: 391.2 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.005581/0.5541, allocations: 4.445 MB / 0.5356 GB, free: 67.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.5551, allocations: 1.841 MB / 0.5374 GB, free: 65.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001088/0.5562, allocations: 423.9 kB / 0.5378 GB, free: 64.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.5565, allocations: 103.4 kB / 0.5379 GB, free: 64.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5565, allocations: 0 / 0.5379 GB, free: 64.75 MB / 382.1 MB Notification: Performance of Templates: time 0.03786/0.5944, allocations: 31.79 MB / 0.5689 GB, free: 33.31 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 cvode -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)