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.001359/0.001359, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001617/0.001617, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.282/1.282, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1706/0.1706, allocations: 8.021 MB / 298 MB, free: 2.441 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.89 kB / 360 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09464, allocations: 51.18 MB / 411.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.009599/0.1043, allocations: 9.626 MB / 420.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.156/0.2603, allocations: 2.65 MB / 423.4 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.2621, allocations: 46.47 kB / 423.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.2638, allocations: 427.1 kB / 423.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.2665, allocations: 0.5924 MB / 424.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.2677, allocations: 488 kB / 424.9 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.2703, allocations: 2.927 MB / 427.9 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.272, allocations: 1.941 MB / 429.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.2731, allocations: 1.031 MB / 430.8 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.2741, allocations: 1.366 MB / 432.2 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.2744, allocations: 201.2 kB / 432.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.2749, allocations: 303 kB / 432.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004855/0.2754, allocations: 0.7287 MB / 433.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008802/0.2763, allocations: 1.278 MB / 434.7 MB, free: 33.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.2783, allocations: 3.971 MB / 438.7 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2783, allocations: 2.719 kB / 438.7 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2783, allocations: 0 / 438.7 MB, free: 32.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.451e-05/0.2784, allocations: 0 / 438.7 MB, free: 32.54 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.004276/0.2827, allocations: 2.893 MB / 441.6 MB, free: 30.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2827, allocations: 9.625 kB / 441.6 MB, free: 30.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005693/0.2833, allocations: 287.4 kB / 441.9 MB, free: 30.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.2848, allocations: 1.381 MB / 443.2 MB, free: 29.97 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.0001865/0.285, allocations: 243.5 kB / 443.5 MB, free: 29.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.2853, allocations: 231.6 kB / 443.7 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.2891, allocations: 2.959 MB / 446.7 MB, free: 28.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.282e-05/0.2891, allocations: 18.2 kB / 446.7 MB, free: 28.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.2893, allocations: 93.31 kB / 446.8 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.289e-05/0.2894, allocations: 111 kB / 446.9 MB, free: 28.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/0.2927, allocations: 2.377 MB / 449.3 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.3027, allocations: 8.801 MB / 458.1 MB, free: 22.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.3048, allocations: 1.63 MB / 459.7 MB, free: 22.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.3063, allocations: 0.965 MB / 460.7 MB, free: 21.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.3065, allocations: 127 kB / 460.8 MB, free: 21.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.3078, allocations: 0.7784 MB / 461.6 MB, free: 21.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.464e-06/0.3078, allocations: 1.281 kB / 461.6 MB, free: 21.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01339/0.3212, allocations: 6.943 MB / 468.5 MB, free: 18.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.3213, allocations: 255.5 kB / 468.7 MB, free: 18.07 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.001587/0.3229, allocations: 1.234 MB / 470 MB, free: 17.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.3229, allocations: 48.08 kB / 470 MB, free: 17.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006641/0.3236, allocations: 1.008 MB / 471 MB, free: 16.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.3239, allocations: 419.5 kB / 471.4 MB, free: 16.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003825/0.3243, allocations: 260.3 kB / 471.7 MB, free: 16.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.68e-05/0.3243, allocations: 301.7 kB / 472 MB, free: 16.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.3255, allocations: 0.7243 MB / 472.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.3269, allocations: 1.126 MB / 473.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008205/0.3351, allocations: 3.611 MB / 477.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.3351, allocations: 2.75 kB / 477.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003966/0.3391, allocations: 2.571 MB / 480 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.3392, allocations: 39.05 kB / 480.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.3392, allocations: 11.62 kB / 480.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.3404, allocations: 0.5 MB / 480.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.3414, allocations: 303.5 kB / 480.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.3469, allocations: 8.083 MB / 489 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.3482, allocations: 140 kB / 489.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/0.3483, allocations: 57.12 kB / 489.2 MB, free: 5.156 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.001879/0.3502, allocations: 1.29 MB / 490.4 MB, free: 4.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001022/0.3512, allocations: 1.1 MB / 491.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007103/0.3584, allocations: 3.541 MB / 495.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.543e-06/0.3584, allocations: 4 kB / 495.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00384/0.3622, allocations: 2.525 MB / 497.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.3623, allocations: 43.39 kB / 497.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3623, allocations: 11.98 kB / 497.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.3634, allocations: 0.5001 MB / 498.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.3644, allocations: 291.5 kB / 498.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006792/0.3712, allocations: 8.072 MB / 0.4947 GB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.3729, allocations: 135.8 kB / 0.4948 GB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.3731, allocations: 60 kB / 0.4948 GB, free: 2.875 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: 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.0006246/0.3737, allocations: 302 kB / 0.4951 GB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.3741, allocations: 138.3 kB / 0.4953 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/0.3779, allocations: 2.211 MB / 0.4974 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3779, allocations: 23.86 kB / 0.4974 GB, free: 168 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.378, allocations: 4 kB / 0.4974 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.378, allocations: 3.984 kB / 0.4974 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007158/0.3851, allocations: 4.753 MB / 0.5021 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.3852, allocations: 4.469 kB / 0.5021 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008064/0.386, allocations: 207.7 kB / 0.5023 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.3872, allocations: 0.5153 MB / 0.5028 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.918e-05/0.3873, allocations: 35.98 kB / 0.5028 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00674/0.3941, allocations: 7.913 MB / 0.5106 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.3941, allocations: 7.938 kB / 0.5106 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00482/0.3989, allocations: 3.252 MB / 0.5137 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006621/0.3996, allocations: 363.3 kB / 0.5141 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.3998, allocations: 28 kB / 0.5141 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008851/0.4007, allocations: 115.8 kB / 0.5142 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.401, allocations: 104.8 kB / 0.5143 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/0.401, allocations: 43.92 kB / 0.5144 GB, free: 14.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001029/0.4021, allocations: 0.8224 MB / 0.5152 GB, free: 13.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4021, allocations: 0 / 0.5152 GB, free: 13.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002371/0.4045, allocations: 0.7773 MB / 0.5159 GB, free: 12.45 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.0003431/0.4048, allocations: 194.9 kB / 0.5161 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009358/0.4142, allocations: 6.731 MB / 0.5227 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.4142, allocations: 0 / 0.5227 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004029/0.4183, allocations: 2.846 MB / 0.5255 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.4203, allocations: 375.5 kB / 0.5258 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/0.4274, allocations: 5.461 MB / 0.5312 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.4287, allocations: 1.837 MB / 0.533 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001307/0.4301, allocations: 423.9 kB / 0.5334 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.4303, allocations: 103.4 kB / 0.5335 GB, free: 10.05 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4303, allocations: 0 / 0.5335 GB, free: 10.05 MB / 414.1 MB Notification: Performance of Templates: time 0.04361/0.474, allocations: 30.61 MB / 0.5633 GB, free: 11.76 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)