Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001017/0.001017, allocations: 108 kB / 15.59 MB, free: 180 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 199.1 kB / 16.51 MB, free: 6.66 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1417/0.1417, allocations: 8.024 MB / 298.4 MB, free: 2.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 55.91 kB / 360.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0801/0.0812, allocations: 51.19 MB / 411.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.009636/0.09087, allocations: 9.677 MB / 421.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1572/0.2481, allocations: 2.694 MB / 424.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009201/0.249, allocations: 54.09 kB / 424.2 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.25, allocations: 494 kB / 424.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.2513, allocations: 0.675 MB / 425.3 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007767/0.2521, allocations: 0.5406 MB / 425.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.2539, allocations: 2.637 MB / 428.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.2557, allocations: 2.296 MB / 430.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.2569, allocations: 1.181 MB / 432 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.2583, allocations: 1.429 MB / 433.4 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003425/0.2586, allocations: 336.5 kB / 433.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005882/0.2592, allocations: 421.6 kB / 434.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00054/0.2598, allocations: 0.8678 MB / 435 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.2609, allocations: 1.411 MB / 436.5 MB, free: 32.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.2637, allocations: 4.072 MB / 440.5 MB, free: 31.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.2637, allocations: 0 / 440.5 MB, free: 31.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2637, allocations: 0 / 440.5 MB, free: 31.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.664e-05/0.2638, allocations: 0 / 440.5 MB, free: 31.48 MB / 350.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.005148/0.269, allocations: 2.906 MB / 443.4 MB, free: 29.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.269, allocations: 9.156 kB / 443.4 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006233/0.2697, allocations: 291.9 kB / 443.7 MB, free: 29.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.2715, allocations: 1.368 MB / 445.1 MB, free: 28.92 MB / 350.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.0002074/0.2717, allocations: 249.4 kB / 445.3 MB, free: 28.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.272, allocations: 232.3 kB / 445.6 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004045/0.2761, allocations: 2.962 MB / 448.5 MB, free: 27.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/0.2762, allocations: 14.56 kB / 448.5 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.2763, allocations: 95.64 kB / 448.6 MB, free: 27.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.891e-05/0.2764, allocations: 106.6 kB / 448.7 MB, free: 27.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/0.2799, allocations: 2.379 MB / 451.1 MB, free: 26.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.2915, allocations: 8.787 MB / 459.9 MB, free: 21.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.294, allocations: 1.635 MB / 461.5 MB, free: 21.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.2956, allocations: 0.9693 MB / 462.5 MB, free: 20.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.2959, allocations: 129 kB / 462.6 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.2973, allocations: 0.785 MB / 463.4 MB, free: 20.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.965e-06/0.2973, allocations: 0 / 463.4 MB, free: 20.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.0146/0.3119, allocations: 6.939 MB / 470.4 MB, free: 17.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.312, allocations: 255.5 kB / 470.6 MB, free: 17.02 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.001833/0.3139, allocations: 1.231 MB / 471.8 MB, free: 16.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.314, allocations: 51.45 kB / 471.9 MB, free: 16.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000696/0.3147, allocations: 1.007 MB / 472.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003524/0.3151, allocations: 419.4 kB / 473.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004006/0.3155, allocations: 264.3 kB / 473.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.384e-05/0.3156, allocations: 305.7 kB / 473.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.3168, allocations: 0.72 MB / 474.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.3181, allocations: 1.126 MB / 475.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008534/0.3267, allocations: 3.624 MB / 479.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/0.3267, allocations: 2.156 kB / 479.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004523/0.3312, allocations: 2.569 MB / 481.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.3313, allocations: 40.05 kB / 481.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.3313, allocations: 11.91 kB / 482 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.3324, allocations: 0.5032 MB / 482.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.3336, allocations: 302 kB / 482.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006094/0.3397, allocations: 8.818 MB / 491.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.3413, allocations: 123.9 kB / 491.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.3415, allocations: 59.98 kB / 491.7 MB, free: 3.023 MB / 350.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.001915/0.3434, allocations: 1.281 MB / 493 MB, free: 1.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001032/0.3444, allocations: 1.107 MB / 494.1 MB, free: 472 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008064/0.3525, allocations: 3.553 MB / 497.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.217e-05/0.3525, allocations: 5.875 kB / 497.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004398/0.357, allocations: 2.513 MB / 0.4885 GB, free: 10.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.357, allocations: 45.69 kB / 0.4885 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.357, allocations: 12 kB / 0.4885 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.3581, allocations: 0.498 MB / 0.489 GB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.3592, allocations: 299.5 kB / 0.4893 GB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007774/0.367, allocations: 8.797 MB / 0.4979 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.3687, allocations: 139.8 kB / 0.498 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.3689, allocations: 63.98 kB / 0.4981 GB, free: 15.77 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.0005044/0.3694, allocations: 300.7 kB / 0.4984 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.3697, allocations: 138.3 kB / 0.4985 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.3736, allocations: 2.207 MB / 0.5007 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.3737, allocations: 13.22 kB / 0.5007 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.3737, allocations: 11.94 kB / 0.5007 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.3737, allocations: 3.984 kB / 0.5007 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007831/0.3815, allocations: 4.754 MB / 0.5053 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.3816, allocations: 4 kB / 0.5053 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/0.3824, allocations: 199.7 kB / 0.5055 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/0.3837, allocations: 0.5251 MB / 0.506 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.3839, allocations: 31.98 kB / 0.5061 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007428/0.3913, allocations: 8.63 MB / 0.5145 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3913, allocations: 7.938 kB / 0.5145 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005331/0.3967, allocations: 3.257 MB / 0.5177 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008171/0.3975, allocations: 363.2 kB / 0.518 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.3978, allocations: 39.98 kB / 0.5181 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009736/0.3988, allocations: 105 kB / 0.5182 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/0.3991, allocations: 104.7 kB / 0.5183 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.662e-05/0.3992, allocations: 43.98 kB / 0.5183 GB, free: 10.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001148/0.4003, allocations: 0.8185 MB / 0.5191 GB, free: 9.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4003, allocations: 0 / 0.5191 GB, free: 9.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002841/0.4032, allocations: 0.7852 MB / 0.5199 GB, free: 8.609 MB / 398.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.0003655/0.4036, allocations: 191.4 kB / 0.5201 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009884/0.4134, allocations: 6.744 MB / 0.5267 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.4135, allocations: 0 / 0.5267 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004301/0.4178, allocations: 2.842 MB / 0.5294 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.4198, allocations: 401 kB / 0.5298 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.4276, allocations: 4.507 MB / 0.5342 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.4294, allocations: 1.833 MB / 0.536 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001325/0.4307, allocations: 424 kB / 0.5364 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.431, allocations: 99.42 kB / 0.5365 GB, free: 7.141 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.431, allocations: 0 / 0.5365 GB, free: 7.141 MB / 414.1 MB Notification: Performance of Templates: time 0.04951/0.4806, allocations: 31.79 MB / 0.5676 GB, free: 7.691 MB / 446.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile (rm -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & ./EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)