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.0009692/0.0009692, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001131/0.001131, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1497/0.1497, allocations: 8.024 MB / 299.1 MB, free: 3.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 8 kB / 361.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08162/0.08191, allocations: 52.17 MB / 414 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.008347/0.0903, allocations: 8.522 MB / 422.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.164/0.2543, allocations: 2.54 MB / 425 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.2555, allocations: 48.34 kB / 425.1 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008136/0.2563, allocations: 388 kB / 425.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.2575, allocations: 0.5719 MB / 426 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007206/0.2582, allocations: 355.5 kB / 426.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.2599, allocations: 2.65 MB / 429 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.2613, allocations: 1.536 MB / 430.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.262, allocations: 0.8617 MB / 431.4 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.2631, allocations: 1.136 MB / 432.6 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.2633, allocations: 133.3 kB / 432.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.2637, allocations: 202.1 kB / 432.9 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004637/0.2642, allocations: 0.6219 MB / 433.5 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.2645, allocations: 492 kB / 434 MB, free: 33.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.2662, allocations: 3.284 MB / 437.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2662, allocations: 3.562 kB / 437.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2662, allocations: 0 / 437.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.471e-05/0.2663, allocations: 0 / 437.3 MB, free: 33.36 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.003625/0.2699, allocations: 2.497 MB / 439.8 MB, free: 32.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.2699, allocations: 11.67 kB / 439.8 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000565/0.2705, allocations: 283.9 kB / 440.1 MB, free: 32.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.2721, allocations: 1.345 MB / 441.4 MB, free: 31.64 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.0001947/0.2723, allocations: 239.2 kB / 441.6 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.2726, allocations: 234.3 kB / 441.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003941/0.2766, allocations: 2.972 MB / 444.8 MB, free: 31.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.478e-05/0.2766, allocations: 10.5 kB / 444.9 MB, free: 31.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.2768, allocations: 97.67 kB / 444.9 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.397e-05/0.2769, allocations: 109.9 kB / 445.1 MB, free: 31.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003423/0.2804, allocations: 2.407 MB / 447.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009685/0.2901, allocations: 8.848 MB / 456.3 MB, free: 25.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.2923, allocations: 1.678 MB / 458 MB, free: 25.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.2937, allocations: 0.9952 MB / 459 MB, free: 24.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.2939, allocations: 128.9 kB / 459.1 MB, free: 24.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.2951, allocations: 0.8032 MB / 459.9 MB, free: 24.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.885e-06/0.2951, allocations: 0 / 459.9 MB, free: 24.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01395/0.3091, allocations: 7.093 MB / 467 MB, free: 21.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.3092, allocations: 250.5 kB / 467.2 MB, free: 21.1 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.001852/0.311, allocations: 1.223 MB / 468.5 MB, free: 20.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.655e-05/0.3111, allocations: 48.81 kB / 468.5 MB, free: 20.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/0.3119, allocations: 1.014 MB / 469.5 MB, free: 19.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.3121, allocations: 418.9 kB / 469.9 MB, free: 19.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.3122, allocations: 24.81 kB / 470 MB, free: 19.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.3123, allocations: 362.7 kB / 470.3 MB, free: 19.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.3136, allocations: 0.7244 MB / 471 MB, free: 18.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.315, allocations: 1.149 MB / 472.2 MB, free: 18.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.3165, allocations: 0.9165 MB / 473.1 MB, free: 17.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.3165, allocations: 3.062 kB / 473.1 MB, free: 17.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004218/0.3207, allocations: 2.595 MB / 475.7 MB, free: 16.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001879/0.3209, allocations: 442.6 kB / 476.1 MB, free: 16.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.321, allocations: 14.66 kB / 476.2 MB, free: 16.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.3221, allocations: 0.502 MB / 476.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.3233, allocations: 316.8 kB / 477 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006085/0.3294, allocations: 8.091 MB / 485.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.3305, allocations: 151.8 kB / 485.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.3307, allocations: 57.91 kB / 485.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.3307, allocations: 3.469 kB / 485.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003398/0.3341, allocations: 2.404 MB / 487.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.3341, allocations: 11.78 kB / 487.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009197/0.3351, allocations: 0.4965 MB / 488.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009693/0.336, allocations: 310 kB / 488.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005554/0.3416, allocations: 8.077 MB / 496.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.3427, allocations: 131.9 kB / 496.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.3428, allocations: 59.98 kB / 496.7 MB, free: 15.48 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 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,$PRE.tqReq.T_start,tqReq.T_start,$PRE.tqReq.count,tqReq.count,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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001259/0.3441, allocations: 0.7673 MB / 497.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.3443, allocations: 146.2 kB / 497.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.3482, allocations: 2.246 MB / 499.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.3482, allocations: 15.95 kB / 499.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.3482, allocations: 4 kB / 499.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.3482, allocations: 11.91 kB / 499.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007361/0.3556, allocations: 4.783 MB / 0.4929 GB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.3556, allocations: 8.062 kB / 0.4929 GB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008587/0.3565, allocations: 207.7 kB / 0.4931 GB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.3577, allocations: 0.5192 MB / 0.4936 GB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.884e-05/0.3578, allocations: 35.97 kB / 0.4936 GB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007034/0.3649, allocations: 7.898 MB / 0.5013 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.3649, allocations: 7.938 kB / 0.5014 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004981/0.3699, allocations: 3.319 MB / 0.5046 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/0.3705, allocations: 371.2 kB / 0.5049 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.3707, allocations: 32 kB / 0.505 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008972/0.3716, allocations: 119.9 kB / 0.5051 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.3718, allocations: 112.7 kB / 0.5052 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.088e-05/0.3719, allocations: 43.98 kB / 0.5052 GB, free: 10.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.373, allocations: 0.8067 MB / 0.506 GB, free: 9.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.373, allocations: 0 / 0.506 GB, free: 9.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002452/0.3755, allocations: 0.7891 MB / 0.5068 GB, free: 8.441 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002748/0.3758, allocations: 157.7 kB / 0.507 GB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009582/0.3853, allocations: 6.784 MB / 0.5136 GB, free: 1.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3854, allocations: 0 / 0.5136 GB, free: 1.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003948/0.3893, allocations: 2.881 MB / 0.5164 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.3909, allocations: 367.5 kB / 0.5167 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/0.3978, allocations: 5.374 MB / 0.522 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.3993, allocations: 1.829 MB / 0.5238 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001211/0.4006, allocations: 420 kB / 0.5242 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.4009, allocations: 102.8 kB / 0.5243 GB, free: 6.098 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4009, allocations: 0 / 0.5243 GB, free: 6.098 MB / 398.1 MB Notification: Performance of Templates: time 0.04623/0.4471, allocations: 29.35 MB / 0.5529 GB, free: 9.09 MB / 430.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)