Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001472/0.001472, allocations: 104.9 kB / 16.35 MB, free: 6.289 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.001674/0.001674, allocations: 192.7 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03982/0.03982, allocations: 8.036 MB / 299.2 MB, free: 6.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.89 kB / 362.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2274, allocations: 51.18 MB / 413.3 MB, free: 26.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.009454/0.2369, allocations: 9.682 MB / 422.9 MB, free: 16.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005316/0.2422, allocations: 2.696 MB / 425.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.244, allocations: 51.81 kB / 425.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.2453, allocations: 0.4924 MB / 426.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.2471, allocations: 0.6713 MB / 426.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009307/0.248, allocations: 0.5408 MB / 427.4 MB, free: 11.82 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.002091/0.2501, allocations: 2.653 MB / 430 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.252, allocations: 2.308 MB / 432.4 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.2533, allocations: 1.18 MB / 433.5 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.2545, allocations: 1.428 MB / 435 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003159/0.2548, allocations: 336 kB / 435.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005479/0.2554, allocations: 419.8 kB / 435.7 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005674/0.256, allocations: 0.8727 MB / 436.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009965/0.257, allocations: 1.412 MB / 438 MB, free: 1.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.2602, allocations: 4.128 MB / 442.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2602, allocations: 4 kB / 442.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2603, allocations: 0 / 442.1 MB, free: 13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.453e-05/0.2603, allocations: 0 / 442.1 MB, free: 13 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.005834/0.2662, allocations: 2.893 MB / 445 MB, free: 10.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2662, allocations: 12.03 kB / 445 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006948/0.2669, allocations: 289.7 kB / 445.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.2695, allocations: 1.415 MB / 446.7 MB, free: 8.285 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.0002602/0.2698, allocations: 243.9 kB / 447 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.2701, allocations: 235.9 kB / 447.2 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005015/0.2751, allocations: 2.961 MB / 450.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.109e-05/0.2752, allocations: 11.78 kB / 450.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/0.2754, allocations: 99.98 kB / 450.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.2755, allocations: 104.5 kB / 450.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004037/0.2796, allocations: 2.383 MB / 452.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.2933, allocations: 8.682 MB / 461.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/0.2961, allocations: 1.64 MB / 463.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.2978, allocations: 0.9706 MB / 464 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.2981, allocations: 118.1 kB / 464.1 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.2994, allocations: 0.7773 MB / 464.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.675e-06/0.2994, allocations: 0 / 464.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01522/0.3146, allocations: 6.948 MB / 471.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.3148, allocations: 248.3 kB / 472.1 MB, free: 14.14 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.002475/0.3173, allocations: 1.234 MB / 473.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.3174, allocations: 45.7 kB / 473.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.3185, allocations: 1.016 MB / 474.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/0.319, allocations: 418.1 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005103/0.3195, allocations: 263.4 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3196, allocations: 317 kB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.321, allocations: 0.7153 MB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.3226, allocations: 1.127 MB / 477.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008789/0.3314, allocations: 3.602 MB / 480.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.3314, allocations: 4 kB / 480.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004817/0.3363, allocations: 2.568 MB / 483.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.3364, allocations: 41.69 kB / 483.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.3364, allocations: 16.06 kB / 483.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.3377, allocations: 0.4962 MB / 484 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.3389, allocations: 307.5 kB / 484.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.3501, allocations: 8.799 MB / 493.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.352, allocations: 127.9 kB / 493.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.3524, allocations: 60 kB / 493.2 MB, free: 8.004 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.003063/0.3554, allocations: 1.286 MB / 494.5 MB, free: 6.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002319/0.3578, allocations: 1.096 MB / 495.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01018/0.368, allocations: 3.551 MB / 499.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.295e-05/0.368, allocations: 4 kB / 499.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00485/0.3729, allocations: 2.517 MB / 0.4899 GB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.3729, allocations: 37.7 kB / 0.49 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.373, allocations: 8 kB / 0.49 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.3741, allocations: 0.5107 MB / 0.4905 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.3752, allocations: 291.5 kB / 0.4908 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008296/0.3835, allocations: 8.789 MB / 0.4993 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.3852, allocations: 131.9 kB / 0.4995 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/0.3855, allocations: 59.98 kB / 0.4995 GB, free: 4.773 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.000598/0.3861, allocations: 312.9 kB / 0.4998 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/0.3865, allocations: 142.2 kB / 0.5 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/0.3907, allocations: 2.207 MB / 0.5021 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.3907, allocations: 19.88 kB / 0.5021 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.3908, allocations: 4 kB / 0.5021 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.3908, allocations: 7.969 kB / 0.5021 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.246/0.6368, allocations: 4.725 MB / 0.5068 GB, free: 88.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.6368, allocations: 4.234 kB / 0.5068 GB, free: 88.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009018/0.6377, allocations: 199.2 kB / 0.5069 GB, free: 88.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.639, allocations: 0.5285 MB / 0.5075 GB, free: 88.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.767e-05/0.6391, allocations: 36.23 kB / 0.5075 GB, free: 88.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006857/0.646, allocations: 8.618 MB / 0.5159 GB, free: 81.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.646, allocations: 11.47 kB / 0.5159 GB, free: 81.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005303/0.6514, allocations: 3.252 MB / 0.5191 GB, free: 80.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008418/0.6522, allocations: 360 kB / 0.5194 GB, free: 80.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.6524, allocations: 39.61 kB / 0.5195 GB, free: 80.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/0.6533, allocations: 98.88 kB / 0.5196 GB, free: 80.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.6536, allocations: 116.6 kB / 0.5197 GB, free: 79.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/0.6537, allocations: 40.28 kB / 0.5197 GB, free: 79.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001076/0.6548, allocations: 0.8204 MB / 0.5205 GB, free: 79.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6548, allocations: 3.609 kB / 0.5205 GB, free: 79.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002365/0.6572, allocations: 0.7824 MB / 0.5213 GB, free: 79.57 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.0003346/0.6575, allocations: 196.3 kB / 0.5215 GB, free: 79.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008333/0.6659, allocations: 6.74 MB / 0.5281 GB, free: 74.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.6659, allocations: 4.562 kB / 0.5281 GB, free: 74.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003642/0.6696, allocations: 2.845 MB / 0.5308 GB, free: 71.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.6717, allocations: 391.6 kB / 0.5312 GB, free: 71.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006337/0.6781, allocations: 4.442 MB / 0.5356 GB, free: 67.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.6792, allocations: 1.848 MB / 0.5374 GB, free: 65.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001092/0.6803, allocations: 416 kB / 0.5378 GB, free: 64.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.6806, allocations: 99.42 kB / 0.5379 GB, free: 64.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.824e-06/0.6806, allocations: 3.938 kB / 0.5379 GB, free: 64.74 MB / 382.1 MB Notification: Performance of Templates: time 0.04797/0.7286, allocations: 31.79 MB / 0.5689 GB, free: 33.3 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & ./EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)