Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05373/0.05373, allocations: 8.599 MB / 24.73 MB, free: 4.758 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000898/0.0008981, allocations: 107.5 kB / 27.43 MB, free: 2.562 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 187.3 kB / 30.26 MB, free: 6.293 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 255.8 MB, free: 4.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01636/0.01636, allocations: 3.136 MB / 311 MB, free: 1.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 88.23 kB / 375.5 MB, free: 1.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2332, allocations: 52.11 MB / 427.6 MB, free: 20.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008695/0.2419, allocations: 9.024 MB / 436.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004729/0.2467, allocations: 2.552 MB / 439.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.2477, allocations: 47.81 kB / 439.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009887/0.2488, allocations: 460.7 kB / 439.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.2502, allocations: 0.6443 MB / 440.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.251, allocations: 0.4888 MB / 440.8 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.2527, allocations: 2.452 MB / 443.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.2544, allocations: 2.045 MB / 445.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.2555, allocations: 1.082 MB / 446.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.2565, allocations: 1.319 MB / 447.7 MB, free: 420 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002841/0.2568, allocations: 300 kB / 448 MB, free: 120 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.2574, allocations: 383.9 kB / 448.4 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007184/0.2582, allocations: 0.787 MB / 449.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.2594, allocations: 1.283 MB / 450.4 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.2624, allocations: 3.661 MB / 454.1 MB, free: 9.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2624, allocations: 4 kB / 454.1 MB, free: 9.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2624, allocations: 0 / 454.1 MB, free: 9.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.982e-05/0.2625, allocations: 0 / 454.1 MB, free: 9.988 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.004899/0.2674, allocations: 2.701 MB / 456.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2674, allocations: 8.031 kB / 456.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006358/0.2681, allocations: 262.1 kB / 457.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.2699, allocations: 1.282 MB / 458.3 MB, free: 5.621 MB / 318.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.2701, allocations: 223.4 kB / 458.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.2704, allocations: 211.9 kB / 458.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003892/0.2743, allocations: 2.691 MB / 461.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.298e-05/0.2744, allocations: 4 kB / 461.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.2745, allocations: 80 kB / 461.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.531e-05/0.2746, allocations: 99.97 kB / 461.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003431/0.2781, allocations: 2.213 MB / 463.9 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.2886, allocations: 7.953 MB / 471.8 MB, free: 7.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.291, allocations: 1.585 MB / 473.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.2926, allocations: 0.9362 MB / 474.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.2929, allocations: 130 kB / 474.5 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/0.294, allocations: 0.7733 MB / 475.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.915e-06/0.2941, allocations: 0 / 475.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01358/0.3076, allocations: 6.597 MB / 481.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.3078, allocations: 256.3 kB / 482.1 MB, free: 13.25 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:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo: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.001597/0.3094, allocations: 1.194 MB / 483.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.505e-05/0.3095, allocations: 49.7 kB / 483.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007825/0.3103, allocations: 0.9192 MB / 484.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/0.3106, allocations: 406.2 kB / 484.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/0.311, allocations: 250.8 kB / 484.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3112, allocations: 361.9 kB / 485.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.3123, allocations: 0.7015 MB / 485.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.3137, allocations: 1.089 MB / 487 MB, free: 8.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008221/0.3219, allocations: 3.57 MB / 490.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.322, allocations: 4 kB / 490.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004342/0.3263, allocations: 2.515 MB / 493.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.3264, allocations: 41.64 kB / 493.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.3264, allocations: 8 kB / 493.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.3276, allocations: 0.5077 MB / 493.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.3287, allocations: 295.6 kB / 494 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007758/0.3364, allocations: 8.807 MB / 0.491 GB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.3378, allocations: 123.9 kB / 0.4911 GB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.338, allocations: 56 kB / 0.4912 GB, free: 7.387 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002084/0.34, allocations: 1.227 MB / 0.4924 GB, free: 6.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001388/0.3414, allocations: 1.066 MB / 0.4934 GB, free: 4.934 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008315/0.3498, allocations: 3.503 MB / 0.4968 GB, free: 1.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.217e-06/0.3498, allocations: 4 kB / 0.4968 GB, free: 1.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004028/0.3538, allocations: 2.472 MB / 0.4992 GB, free: 14.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.3539, allocations: 37.7 kB / 0.4993 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.3539, allocations: 12 kB / 0.4993 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.355, allocations: 0.4998 MB / 0.4998 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009971/0.356, allocations: 287.5 kB / 0.5 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007693/0.3637, allocations: 8.784 MB / 0.5086 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.3652, allocations: 131.9 kB / 0.5087 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.3654, allocations: 64.05 kB / 0.5088 GB, free: 4.363 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (147): * Single equations (assignments): 140 * 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.000533/0.366, allocations: 307.1 kB / 0.5091 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000386/0.3664, allocations: 138.4 kB / 0.5092 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/0.3701, allocations: 2.172 MB / 0.5114 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.3702, allocations: 12 kB / 0.5114 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.3702, allocations: 4 kB / 0.5114 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.3702, allocations: 19.84 kB / 0.5114 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2397/0.6099, allocations: 4.594 MB / 0.5159 GB, free: 84.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.61, allocations: 5 kB / 0.5159 GB, free: 84.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000973/0.6109, allocations: 193.4 kB / 0.5161 GB, free: 84.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/0.6126, allocations: 0.5264 MB / 0.5166 GB, free: 84.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.6127, allocations: 38.2 kB / 0.5166 GB, free: 84.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007704/0.6205, allocations: 8.612 MB / 0.525 GB, free: 77.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6205, allocations: 7.719 kB / 0.525 GB, free: 77.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005226/0.6257, allocations: 3.224 MB / 0.5282 GB, free: 75.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008004/0.6265, allocations: 353.1 kB / 0.5285 GB, free: 75.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003994/0.6269, allocations: 35.44 kB / 0.5286 GB, free: 75.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.6281, allocations: 108.2 kB / 0.5287 GB, free: 75.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.6284, allocations: 113 kB / 0.5288 GB, free: 75.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.6285, allocations: 39.22 kB / 0.5288 GB, free: 75.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001394/0.6299, allocations: 0.7937 MB / 0.5296 GB, free: 75.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6299, allocations: 0 / 0.5296 GB, free: 75.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002907/0.6328, allocations: 0.7525 MB / 0.5303 GB, free: 75.29 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 (98): * Single equations (assignments): 90 * 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.0003637/0.6332, allocations: 180 kB / 0.5305 GB, free: 75.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008773/0.6419, allocations: 6.685 MB / 0.537 GB, free: 70.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.642, allocations: 0 / 0.537 GB, free: 70.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003537/0.6455, allocations: 2.839 MB / 0.5398 GB, free: 68.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.6476, allocations: 372.7 kB / 0.5401 GB, free: 67.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006392/0.654, allocations: 4.241 MB / 0.5443 GB, free: 63.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.6553, allocations: 1.74 MB / 0.546 GB, free: 61.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001091/0.6564, allocations: 415.6 kB / 0.5464 GB, free: 61.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.6567, allocations: 99.42 kB / 0.5465 GB, free: 61.44 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6567, allocations: 0 / 0.5465 GB, free: 61.44 MB / 382.1 MB Notification: Performance of Templates: time 0.04446/0.7012, allocations: 31.21 MB / 0.5769 GB, free: 30.56 MB / 382.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.makefile (rm -f EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.sim & ./EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)