Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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 2.1.4/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.07437/0.07437, allocations: 8.319 MB / 23.82 MB, free: 4.684 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.001499/0.001499, allocations: 112.1 kB / 26.47 MB, free: 2.797 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.001738/0.001738, allocations: 204.7 kB / 29.23 MB, free: 52 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 222.9 MB / 254.7 MB, free: 4.418 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01209/0.01209, allocations: 3.129 MB / 309.8 MB, free: 2.023 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001933, allocations: 92.14 kB / 374.3 MB, free: 1.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 52.05 MB / 426.3 MB, free: 21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.009264/0.3456, allocations: 9.018 MB / 435.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005718/0.3513, allocations: 2.555 MB / 437.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.3534, allocations: 47.81 kB / 438 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.3549, allocations: 456.7 kB / 438.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.3571, allocations: 0.6482 MB / 439 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3583, allocations: 493.4 kB / 439.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.3609, allocations: 2.452 MB / 442 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.3628, allocations: 2.049 MB / 444 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.3648, allocations: 1.079 MB / 445.1 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.3668, allocations: 1.323 MB / 446.4 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000469/0.3673, allocations: 299.9 kB / 446.7 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000899/0.3682, allocations: 391.8 kB / 447.1 MB, free: 116 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008899/0.3691, allocations: 0.783 MB / 447.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.3706, allocations: 1.276 MB / 449.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003796/0.3744, allocations: 3.669 MB / 452.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3744, allocations: 4 kB / 452.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3744, allocations: 0 / 452.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.467e-05/0.3745, allocations: 0 / 452.8 MB, free: 10.36 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.005668/0.3802, allocations: 2.697 MB / 455.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3802, allocations: 12.03 kB / 455.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007128/0.3809, allocations: 262.1 kB / 455.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.383, allocations: 1.282 MB / 457.1 MB, free: 5.996 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.0002493/0.3833, allocations: 219.4 kB / 457.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003038/0.3836, allocations: 211.9 kB / 457.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004405/0.388, allocations: 2.694 MB / 460.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.933e-05/0.3881, allocations: 4 kB / 460.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.3883, allocations: 91.92 kB / 460.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.3884, allocations: 95.97 kB / 460.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003909/0.3923, allocations: 2.209 MB / 462.6 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/0.4046, allocations: 7.949 MB / 470.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.4072, allocations: 1.581 MB / 472.1 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.4088, allocations: 0.9451 MB / 473.1 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/0.409, allocations: 126 kB / 473.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.4102, allocations: 0.7655 MB / 474 MB, free: 4.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.795e-06/0.4103, allocations: 4 kB / 474 MB, free: 4.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01467/0.4249, allocations: 6.605 MB / 480.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.4251, allocations: 248.3 kB / 480.8 MB, free: 13.63 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.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: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.002141/0.4273, allocations: 1.204 MB / 482 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.4274, allocations: 45.7 kB / 482.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.4285, allocations: 0.9153 MB / 483 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/0.4289, allocations: 414.2 kB / 483.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/0.4294, allocations: 246.8 kB / 483.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.4296, allocations: 357.9 kB / 484 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.4309, allocations: 0.7054 MB / 484.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.4326, allocations: 1.093 MB / 485.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008617/0.4413, allocations: 3.562 MB / 489.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.4413, allocations: 4 kB / 489.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004475/0.4458, allocations: 2.515 MB / 491.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.741e-05/0.4459, allocations: 37.69 kB / 491.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.4459, allocations: 12.06 kB / 491.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.4471, allocations: 0.5051 MB / 492.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009929/0.4481, allocations: 291.5 kB / 492.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007758/0.4558, allocations: 8.815 MB / 0.4898 GB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.4574, allocations: 119.9 kB / 0.4899 GB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.4575, allocations: 59.98 kB / 0.4899 GB, free: 7.77 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.002181/0.4597, allocations: 1.236 MB / 0.4911 GB, free: 6.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001346/0.4611, allocations: 1.058 MB / 0.4922 GB, free: 5.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008001/0.4691, allocations: 3.507 MB / 0.4956 GB, free: 1.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.09e-05/0.4691, allocations: 4 kB / 0.4956 GB, free: 1.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004089/0.4732, allocations: 2.476 MB / 0.498 GB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.4733, allocations: 37.7 kB / 0.498 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4733, allocations: 8 kB / 0.4981 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.4744, allocations: 0.504 MB / 0.4985 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/0.4753, allocations: 275.6 kB / 0.4988 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007432/0.4828, allocations: 8.795 MB / 0.5074 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.4845, allocations: 131.9 kB / 0.5075 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.4847, allocations: 55.98 kB / 0.5076 GB, free: 4.746 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.0005344/0.4852, allocations: 299.3 kB / 0.5079 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/0.4855, allocations: 146.3 kB / 0.508 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004618/0.4901, allocations: 2.183 MB / 0.5101 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.4902, allocations: 12 kB / 0.5101 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.4902, allocations: 4 kB / 0.5102 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/0.4902, allocations: 11.91 kB / 0.5102 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2792/0.7694, allocations: 4.593 MB / 0.5146 GB, free: 84.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.7694, allocations: 2.969 kB / 0.5147 GB, free: 84.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008654/0.7703, allocations: 192.6 kB / 0.5148 GB, free: 84.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.7717, allocations: 0.5211 MB / 0.5153 GB, free: 84.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.7718, allocations: 38.41 kB / 0.5154 GB, free: 84.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006864/0.7787, allocations: 8.619 MB / 0.5238 GB, free: 77.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.7787, allocations: 3.719 kB / 0.5238 GB, free: 77.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/0.7844, allocations: 3.223 MB / 0.5269 GB, free: 76.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009465/0.7854, allocations: 352 kB / 0.5273 GB, free: 76.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.7856, allocations: 36.31 kB / 0.5273 GB, free: 76.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.787, allocations: 103 kB / 0.5274 GB, free: 76.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004213/0.7874, allocations: 115.8 kB / 0.5275 GB, free: 76.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.7876, allocations: 42.06 kB / 0.5276 GB, free: 76.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001431/0.789, allocations: 0.7944 MB / 0.5283 GB, free: 75.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.789, allocations: 0.7188 kB / 0.5283 GB, free: 75.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002922/0.792, allocations: 0.7411 MB / 0.5291 GB, free: 75.69 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.0003849/0.7924, allocations: 192.9 kB / 0.5293 GB, free: 75.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01072/0.8031, allocations: 7.074 MB / 0.5362 GB, free: 71.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.8031, allocations: 0 / 0.5362 GB, free: 71.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003566/0.8067, allocations: 2.844 MB / 0.5389 GB, free: 68.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.8084, allocations: 375.2 kB / 0.5393 GB, free: 68.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.8138, allocations: 4.237 MB / 0.5434 GB, free: 64.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009685/0.8148, allocations: 1.742 MB / 0.5451 GB, free: 62.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001167/0.816, allocations: 411.6 kB / 0.5455 GB, free: 61.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.8162, allocations: 99.42 kB / 0.5456 GB, free: 61.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.8163, allocations: 0 / 0.5456 GB, free: 61.75 MB / 382.1 MB Notification: Performance of Templates: time 0.0464/0.8627, allocations: 31.22 MB / 0.5761 GB, free: 30.86 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & ./EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)