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.001106/0.001106, allocations: 108 kB / 15.59 MB, free: 184 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.001247/0.001247, allocations: 196.4 kB / 16.51 MB, free: 6.719 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1499/0.1499, allocations: 8.026 MB / 298.4 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 59.91 kB / 360.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1422, allocations: 51.2 MB / 411.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01081/0.1531, allocations: 9.68 MB / 421.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2001/0.3532, allocations: 2.698 MB / 424.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.3548, allocations: 50.5 kB / 424.2 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.356, allocations: 499.9 kB / 424.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.3579, allocations: 0.675 MB / 425.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.359, allocations: 0.5395 MB / 425.9 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00252/0.3615, allocations: 2.637 MB / 428.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.3636, allocations: 2.298 MB / 430.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.3651, allocations: 1.182 MB / 432 MB, free: 35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.3668, allocations: 1.423 MB / 433.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005237/0.3674, allocations: 337.2 kB / 433.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008806/0.3683, allocations: 422.4 kB / 434.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006717/0.3689, allocations: 0.8626 MB / 435 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.3702, allocations: 1.417 MB / 436.5 MB, free: 32.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.3731, allocations: 4.075 MB / 440.5 MB, free: 31.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3732, allocations: 4 kB / 440.5 MB, free: 31.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3732, allocations: 3.938 kB / 440.5 MB, free: 31.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.776e-05/0.3733, allocations: 0 / 440.5 MB, free: 31.49 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.005658/0.3789, allocations: 2.894 MB / 443.4 MB, free: 29.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.379, allocations: 9.469 kB / 443.4 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008246/0.3798, allocations: 282.1 kB / 443.7 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.3823, allocations: 1.379 MB / 445.1 MB, free: 28.93 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.0003257/0.3827, allocations: 239.2 kB / 445.3 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003725/0.383, allocations: 235.2 kB / 445.6 MB, free: 28.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004629/0.3877, allocations: 2.961 MB / 448.5 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.3878, allocations: 14.81 kB / 448.5 MB, free: 27.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/0.388, allocations: 98.11 kB / 448.6 MB, free: 27.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.3881, allocations: 107.9 kB / 448.7 MB, free: 27.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.3918, allocations: 2.374 MB / 451.1 MB, free: 26.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.4037, allocations: 8.798 MB / 459.9 MB, free: 21.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.4065, allocations: 1.634 MB / 461.5 MB, free: 21.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/0.4087, allocations: 0.968 MB / 462.5 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/0.4091, allocations: 123.3 kB / 462.6 MB, free: 20.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/0.4108, allocations: 0.781 MB / 463.4 MB, free: 20.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 4.949e-06/0.4108, allocations: 0 / 463.4 MB, free: 20.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01682/0.4276, allocations: 6.945 MB / 470.4 MB, free: 17.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.4278, allocations: 251.3 kB / 470.6 MB, free: 17.04 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.002248/0.43, allocations: 1.235 MB / 471.8 MB, free: 16.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.4302, allocations: 48.2 kB / 471.9 MB, free: 16.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009522/0.4312, allocations: 1.012 MB / 472.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.4316, allocations: 420.4 kB / 473.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005075/0.4321, allocations: 259.8 kB / 473.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.4321, allocations: 303.1 kB / 473.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.4335, allocations: 0.7152 MB / 474.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.4351, allocations: 1.127 MB / 475.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009168/0.4442, allocations: 3.627 MB / 479.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/0.4443, allocations: 2.75 kB / 479.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005167/0.4495, allocations: 2.573 MB / 481.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.4495, allocations: 39.33 kB / 481.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.4496, allocations: 10.53 kB / 482 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.4507, allocations: 0.4975 MB / 482.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.4518, allocations: 307.4 kB / 482.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/0.4587, allocations: 8.815 MB / 491.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.4606, allocations: 127.9 kB / 491.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.4607, allocations: 59.98 kB / 491.7 MB, free: 3.02 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.002116/0.4628, allocations: 1.279 MB / 493 MB, free: 1.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001049/0.4639, allocations: 1.107 MB / 494.1 MB, free: 472 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008/0.4719, allocations: 3.555 MB / 497.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.315e-05/0.472, allocations: 4 kB / 497.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004418/0.4764, allocations: 2.521 MB / 0.4885 GB, free: 10.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.4764, allocations: 37.7 kB / 0.4885 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4765, allocations: 8 kB / 0.4885 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.4776, allocations: 0.5061 MB / 0.489 GB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.4786, allocations: 291.6 kB / 0.4893 GB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008756/0.4874, allocations: 8.806 MB / 0.4979 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.4893, allocations: 139.8 kB / 0.498 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.4894, allocations: 59.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.0005686/0.49, allocations: 308.2 kB / 0.4984 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.4903, allocations: 138.3 kB / 0.4985 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.4944, allocations: 2.202 MB / 0.5007 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4944, allocations: 12 kB / 0.5007 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.4944, allocations: 11.88 kB / 0.5007 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.52e-05/0.4944, allocations: 11.95 kB / 0.5007 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008206/0.5026, allocations: 4.744 MB / 0.5053 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.5027, allocations: 4 kB / 0.5053 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/0.5035, allocations: 200.2 kB / 0.5055 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.5049, allocations: 0.5286 MB / 0.5061 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.365e-05/0.505, allocations: 35.97 kB / 0.5061 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007796/0.5128, allocations: 8.618 MB / 0.5145 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.5128, allocations: 11.92 kB / 0.5145 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00546/0.5183, allocations: 3.253 MB / 0.5177 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.5194, allocations: 371.1 kB / 0.518 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.5196, allocations: 32 kB / 0.5181 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009421/0.5205, allocations: 103.9 kB / 0.5182 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/0.5208, allocations: 116.7 kB / 0.5183 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/0.5209, allocations: 39.98 kB / 0.5183 GB, free: 10.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001247/0.5222, allocations: 0.8185 MB / 0.5191 GB, free: 9.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5222, allocations: 0 / 0.5191 GB, free: 9.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002831/0.525, allocations: 0.7812 MB / 0.5199 GB, free: 8.605 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.0003857/0.5254, allocations: 196 kB / 0.5201 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01195/0.5374, allocations: 7.159 MB / 0.5271 GB, free: 1.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.5375, allocations: 4.062 kB / 0.5271 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004395/0.5419, allocations: 2.838 MB / 0.5298 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.5441, allocations: 395.7 kB / 0.5302 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00802/0.5521, allocations: 4.513 MB / 0.5346 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.5537, allocations: 1.833 MB / 0.5364 GB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001569/0.5553, allocations: 428 kB / 0.5368 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.5556, allocations: 99.42 kB / 0.5369 GB, free: 6.715 MB / 414.1 MB Notification: Performance of SimCode: time 3.336e-06/0.5556, allocations: 0 / 0.5369 GB, free: 6.715 MB / 414.1 MB Notification: Performance of Templates: time 0.05379/0.6094, allocations: 31.79 MB / 0.568 GB, free: 7.277 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)