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.001099/0.001099, allocations: 105.6 kB / 16.23 MB, free: 6.332 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.001042/0.001043, allocations: 190.8 kB / 17.16 MB, free: 5.941 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.281/1.281, allocations: 222.9 MB / 240.8 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04097/0.04097, allocations: 8.606 MB / 299.6 MB, free: 6.332 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 55.91 kB / 361.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2028, allocations: 51.34 MB / 413.3 MB, free: 25.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.007783/0.2106, allocations: 9.668 MB / 422.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.2148, allocations: 2.688 MB / 425.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.216, allocations: 51.81 kB / 425.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.2172, allocations: 496.3 kB / 426.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.2189, allocations: 0.6752 MB / 426.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008971/0.2198, allocations: 0.5383 MB / 427.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002227/0.2221, allocations: 2.639 MB / 430 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.2239, allocations: 2.308 MB / 432.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.2253, allocations: 1.18 MB / 433.5 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.2266, allocations: 1.42 MB / 434.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.2269, allocations: 336 kB / 435.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005636/0.2275, allocations: 419.8 kB / 435.6 MB, free: 2.867 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005356/0.228, allocations: 0.8649 MB / 436.5 MB, free: 2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009849/0.229, allocations: 1.416 MB / 437.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.2329, allocations: 4.081 MB / 442 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2329, allocations: 0 / 442 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2329, allocations: 3.938 kB / 442 MB, free: 12.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.734e-05/0.2331, allocations: 0 / 442 MB, free: 12.48 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.006197/0.2393, allocations: 2.893 MB / 444.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.2393, allocations: 8.031 kB / 444.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008682/0.2402, allocations: 293.7 kB / 445.2 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.2427, allocations: 1.373 MB / 446.6 MB, free: 7.805 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.0002511/0.2429, allocations: 239.9 kB / 446.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.2432, allocations: 231.9 kB / 447 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005116/0.2484, allocations: 2.961 MB / 450 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.173e-05/0.2485, allocations: 7.844 kB / 450 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.2487, allocations: 104 kB / 450.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.2488, allocations: 104.5 kB / 450.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/0.2529, allocations: 2.383 MB / 452.6 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.2654, allocations: 8.795 MB / 461.4 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.268, allocations: 1.635 MB / 463 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.2697, allocations: 0.9744 MB / 464 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.2699, allocations: 118.1 kB / 464.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/0.2712, allocations: 0.7773 MB / 464.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.016e-06/0.2712, allocations: 4 kB / 464.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01478/0.286, allocations: 6.948 MB / 471.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.2861, allocations: 244.3 kB / 472.1 MB, free: 13.56 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.001727/0.2879, allocations: 1.242 MB / 473.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.288, allocations: 45.7 kB / 473.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007383/0.2887, allocations: 1.013 MB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/0.2891, allocations: 418.1 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.2895, allocations: 259.4 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.2896, allocations: 305.1 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.2908, allocations: 0.7192 MB / 476.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.2921, allocations: 1.131 MB / 477.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008415/0.3006, allocations: 3.623 MB / 480.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.3006, allocations: 4 kB / 480.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004488/0.3051, allocations: 2.576 MB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.3052, allocations: 37.7 kB / 483.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.3052, allocations: 8 kB / 483.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.3065, allocations: 0.5143 MB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.3077, allocations: 303.5 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008133/0.3159, allocations: 8.802 MB / 493 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.3174, allocations: 127.9 kB / 493.2 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.3176, allocations: 59.98 kB / 493.2 MB, free: 7.395 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.002126/0.3197, allocations: 1.293 MB / 494.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001316/0.321, allocations: 1.103 MB / 495.6 MB, free: 4.824 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008029/0.3291, allocations: 3.556 MB / 499.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.486e-06/0.3291, allocations: 4 kB / 499.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00403/0.3331, allocations: 2.514 MB / 0.4899 GB, free: 14.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.3332, allocations: 41.69 kB / 0.49 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.3332, allocations: 12 kB / 0.49 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.3343, allocations: 0.5039 MB / 0.4905 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.3354, allocations: 295.5 kB / 0.4908 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008247/0.3436, allocations: 8.793 MB / 0.4994 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.3454, allocations: 135.9 kB / 0.4995 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/0.3457, allocations: 59.98 kB / 0.4995 GB, free: 4.125 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.0005092/0.3462, allocations: 304.1 kB / 0.4998 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.3466, allocations: 142.3 kB / 0.5 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003985/0.3505, allocations: 2.215 MB / 0.5021 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.3506, allocations: 15.94 kB / 0.5021 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.3506, allocations: 4 kB / 0.5021 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.3506, allocations: 7.984 kB / 0.5022 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1824/0.5331, allocations: 4.743 MB / 0.5068 GB, free: 87.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.5331, allocations: 3.906 kB / 0.5068 GB, free: 87.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/0.534, allocations: 195.6 kB / 0.507 GB, free: 87.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/0.5353, allocations: 0.5258 MB / 0.5075 GB, free: 87.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.29e-05/0.5354, allocations: 34.2 kB / 0.5075 GB, free: 87.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006204/0.5417, allocations: 8.621 MB / 0.5159 GB, free: 80.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.548e-05/0.5417, allocations: 11.91 kB / 0.516 GB, free: 80.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00476/0.5465, allocations: 3.248 MB / 0.5191 GB, free: 79.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006396/0.5472, allocations: 365.8 kB / 0.5195 GB, free: 79.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.5474, allocations: 39.66 kB / 0.5195 GB, free: 79.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008972/0.5483, allocations: 103 kB / 0.5196 GB, free: 79.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.5485, allocations: 113.7 kB / 0.5197 GB, free: 79.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/0.5486, allocations: 41.91 kB / 0.5198 GB, free: 79.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001014/0.5496, allocations: 0.8182 MB / 0.5206 GB, free: 78.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5497, allocations: 0 / 0.5206 GB, free: 78.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002451/0.5521, allocations: 0.7886 MB / 0.5213 GB, free: 78.76 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.0003871/0.5525, allocations: 196.2 kB / 0.5215 GB, free: 78.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009066/0.5616, allocations: 6.741 MB / 0.5281 GB, free: 73.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.5616, allocations: 0 / 0.5281 GB, free: 73.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003697/0.5653, allocations: 2.842 MB / 0.5309 GB, free: 70.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.5672, allocations: 396.6 kB / 0.5313 GB, free: 70.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/0.5729, allocations: 4.5 MB / 0.5356 GB, free: 65.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.5739, allocations: 1.837 MB / 0.5374 GB, free: 64.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001033/0.5749, allocations: 423.9 kB / 0.5378 GB, free: 63.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.5752, allocations: 103.4 kB / 0.5379 GB, free: 63.5 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5752, allocations: 0 / 0.5379 GB, free: 63.5 MB / 382.1 MB Notification: Performance of Templates: time 0.04532/0.6206, allocations: 31.79 MB / 0.569 GB, free: 32.06 MB / 382.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 -s cvode -lv LOG_STATS > EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)