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.001027/0.001027, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001015/0.001015, allocations: 189.7 kB / 16.25 MB, free: 6.629 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.303/1.303, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1605/0.1605, allocations: 8.032 MB / 298.1 MB, free: 2.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 360.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1013, allocations: 51.19 MB / 411.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01041/0.1117, allocations: 9.615 MB / 420.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1805/0.2923, allocations: 2.632 MB / 423.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.2937, allocations: 54.59 kB / 423.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.2953, allocations: 411.4 kB / 424 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.2972, allocations: 0.5995 MB / 424.6 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.2981, allocations: 484.8 kB / 425.1 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.3, allocations: 2.651 MB / 427.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.3017, allocations: 2.289 MB / 430 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009697/0.3027, allocations: 1.191 MB / 431.2 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.3038, allocations: 1.453 MB / 432.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002906/0.304, allocations: 333.3 kB / 433 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005092/0.3046, allocations: 422.7 kB / 433.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005258/0.3051, allocations: 0.8635 MB / 434.3 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008592/0.306, allocations: 1.416 MB / 435.7 MB, free: 33.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.3081, allocations: 4.083 MB / 439.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3081, allocations: 0 / 439.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3081, allocations: 0 / 439.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.3082, allocations: 3.219 kB / 439.8 MB, free: 31.72 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.00415/0.3123, allocations: 2.89 MB / 442.7 MB, free: 30.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3124, allocations: 9.062 kB / 442.7 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005792/0.313, allocations: 298.3 kB / 443 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.3146, allocations: 1.365 MB / 444.3 MB, free: 29.16 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.0001891/0.3148, allocations: 245.3 kB / 444.6 MB, free: 29.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/0.315, allocations: 236.7 kB / 444.8 MB, free: 28.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.3188, allocations: 2.963 MB / 447.8 MB, free: 27.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.483e-05/0.3188, allocations: 11.22 kB / 447.8 MB, free: 27.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.319, allocations: 94.84 kB / 447.9 MB, free: 27.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.551e-05/0.3191, allocations: 108.6 kB / 448 MB, free: 27.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/0.3223, allocations: 2.377 MB / 450.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009384/0.3316, allocations: 8.805 MB / 459.2 MB, free: 22.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.3339, allocations: 1.635 MB / 460.8 MB, free: 21.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.3355, allocations: 0.9652 MB / 461.8 MB, free: 20.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.3357, allocations: 121.6 kB / 461.9 MB, free: 20.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.3368, allocations: 0.7815 MB / 462.7 MB, free: 20.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.564e-06/0.3369, allocations: 0 / 462.7 MB, free: 20.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01464/0.3515, allocations: 6.945 MB / 469.6 MB, free: 17.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.3516, allocations: 250.6 kB / 469.9 MB, free: 17.26 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.1017764061411688 / (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.1017764061411688 / (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.001671/0.3533, allocations: 1.234 MB / 471.1 MB, free: 16.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.3534, allocations: 51.39 kB / 471.1 MB, free: 16.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006926/0.3541, allocations: 1.009 MB / 472.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.3544, allocations: 417.8 kB / 472.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.3548, allocations: 267.2 kB / 472.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.3548, allocations: 302.7 kB / 473.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.3559, allocations: 0.7197 MB / 473.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.3572, allocations: 1.13 MB / 475 MB, free: 14.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007962/0.3652, allocations: 3.616 MB / 478.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3652, allocations: 10.81 kB / 478.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003888/0.3691, allocations: 2.568 MB / 481.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.3692, allocations: 43.3 kB / 481.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.3692, allocations: 11.41 kB / 481.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009877/0.3702, allocations: 0.5074 MB / 481.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009469/0.3711, allocations: 302.5 kB / 482 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005651/0.3768, allocations: 8.808 MB / 490.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.3781, allocations: 123.9 kB / 490.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.3782, allocations: 63.98 kB / 491 MB, free: 3.539 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.001752/0.38, allocations: 1.289 MB / 492.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001019/0.381, allocations: 1.1 MB / 493.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007584/0.3886, allocations: 3.558 MB / 497 MB, free: 13.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/0.3886, allocations: 4 kB / 497 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003832/0.3924, allocations: 2.514 MB / 499.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.3925, allocations: 45.72 kB / 499.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3925, allocations: 13.34 kB / 499.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.3936, allocations: 0.5 MB / 0.4883 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000947/0.3945, allocations: 299.5 kB / 0.4886 GB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007049/0.4016, allocations: 8.786 MB / 0.4972 GB, free: 500 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.4031, allocations: 139.8 kB / 0.4973 GB, free: 360 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.4032, allocations: 59.98 kB / 0.4974 GB, free: 300 kB / 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: 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.0005408/0.4038, allocations: 298.5 kB / 0.4976 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.404, allocations: 143.9 kB / 0.4978 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.4077, allocations: 2.214 MB / 0.4999 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.4077, allocations: 16 kB / 0.5 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4077, allocations: 7.938 kB / 0.5 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.4077, allocations: 3.984 kB / 0.5 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006872/0.4146, allocations: 4.755 MB / 0.5046 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4146, allocations: 4 kB / 0.5046 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/0.4154, allocations: 203.7 kB / 0.5048 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.4166, allocations: 0.5163 MB / 0.5053 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/0.4167, allocations: 35.98 kB / 0.5054 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006834/0.4236, allocations: 8.624 MB / 0.5138 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4236, allocations: 4 kB / 0.5138 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004719/0.4283, allocations: 3.259 MB / 0.517 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005692/0.4289, allocations: 363.2 kB / 0.5173 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.4291, allocations: 35.98 kB / 0.5173 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008915/0.43, allocations: 99.89 kB / 0.5174 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.4302, allocations: 116.7 kB / 0.5175 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.4303, allocations: 35.98 kB / 0.5176 GB, free: 10.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009995/0.4313, allocations: 0.8231 MB / 0.5184 GB, free: 9.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4313, allocations: 0 / 0.5184 GB, free: 9.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002338/0.4337, allocations: 0.7891 MB / 0.5192 GB, free: 9.129 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.0003022/0.434, allocations: 196.7 kB / 0.5193 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01016/0.4442, allocations: 7.149 MB / 0.5263 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4442, allocations: 9.812 kB / 0.5263 GB, free: 1.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004041/0.4482, allocations: 2.838 MB / 0.5291 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.4508, allocations: 396.9 kB / 0.5295 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007736/0.4586, allocations: 5.467 MB / 0.5348 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.4602, allocations: 1.829 MB / 0.5366 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001274/0.4615, allocations: 427.9 kB / 0.537 GB, free: 6.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.4618, allocations: 103.4 kB / 0.5371 GB, free: 6.289 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4618, allocations: 0 / 0.5371 GB, free: 6.289 MB / 414.1 MB Notification: Performance of Templates: time 0.05154/0.5133, allocations: 31.85 MB / 0.5682 GB, free: 6.77 MB / 446.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 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)