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.08256/0.08256, allocations: 8.028 MB / 23.26 MB, free: 496 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 105.8 kB / 25.83 MB, free: 3.496 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.001676/0.001676, allocations: 190.3 kB / 28.5 MB, free: 0.832 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 222.9 MB / 253.9 MB, free: 3.254 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01192/0.01192, allocations: 3.125 MB / 309 MB, free: 2.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 83.86 kB / 373.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3353, allocations: 51.98 MB / 425.1 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008302/0.3436, allocations: 8.971 MB / 434.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00551/0.3492, allocations: 2.513 MB / 436.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.3511, allocations: 43.81 kB / 436.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.3525, allocations: 385.7 kB / 437 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.3552, allocations: 0.5749 MB / 437.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.3565, allocations: 445.8 kB / 438 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.3595, allocations: 2.457 MB / 440.5 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.3613, allocations: 2.053 MB / 442.5 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.3637, allocations: 1.082 MB / 443.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.3664, allocations: 1.35 MB / 445 MB, free: 1.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007215/0.3671, allocations: 300 kB / 445.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.3682, allocations: 383.8 kB / 445.6 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006711/0.3689, allocations: 0.7909 MB / 446.4 MB, free: 164 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001856/0.3707, allocations: 1.276 MB / 447.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004732/0.3755, allocations: 3.676 MB / 451.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3755, allocations: 0 / 451.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3755, allocations: 0 / 451.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.3757, allocations: 0 / 451.4 MB, free: 11.19 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.007212/0.3829, allocations: 2.693 MB / 454.1 MB, free: 8.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3829, allocations: 8.031 kB / 454.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008105/0.3837, allocations: 262.1 kB / 454.3 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.3859, allocations: 1.283 MB / 455.6 MB, free: 6.832 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.0002513/0.3862, allocations: 223.4 kB / 455.8 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.3865, allocations: 215.8 kB / 456 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005001/0.3915, allocations: 2.69 MB / 458.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.221e-05/0.3916, allocations: 4 kB / 458.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.3918, allocations: 87.98 kB / 458.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-05/0.3919, allocations: 91.98 kB / 458.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.3959, allocations: 2.213 MB / 461.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.4083, allocations: 7.957 MB / 469.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.4108, allocations: 1.585 MB / 470.7 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.4125, allocations: 0.9483 MB / 471.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.4127, allocations: 118 kB / 471.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/0.414, allocations: 0.7733 MB / 472.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.305e-06/0.414, allocations: 0 / 472.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01368/0.4276, allocations: 6.608 MB / 479.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.4278, allocations: 248.3 kB / 479.3 MB, free: 14.45 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.001643/0.4294, allocations: 1.196 MB / 480.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.4296, allocations: 45.7 kB / 480.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007283/0.4303, allocations: 0.9154 MB / 481.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.4307, allocations: 414.2 kB / 481.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004074/0.4311, allocations: 250.7 kB / 482.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4313, allocations: 361.9 kB / 482.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.4324, allocations: 0.7015 MB / 483.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.4338, allocations: 1.093 MB / 484.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008619/0.4425, allocations: 3.562 MB / 487.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.4425, allocations: 0 / 487.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004511/0.447, allocations: 2.523 MB / 490.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.4471, allocations: 36.05 kB / 490.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.4471, allocations: 12 kB / 490.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.4483, allocations: 0.5002 MB / 490.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4494, allocations: 295.5 kB / 491.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008322/0.4577, allocations: 8.81 MB / 0.4883 GB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.4593, allocations: 119.9 kB / 0.4884 GB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.4595, allocations: 59.98 kB / 0.4885 GB, free: 8.598 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.002252/0.4617, allocations: 1.227 MB / 0.4897 GB, free: 7.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001336/0.4631, allocations: 1.062 MB / 0.4907 GB, free: 6.152 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008073/0.4712, allocations: 3.511 MB / 0.4941 GB, free: 2.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.108e-05/0.4712, allocations: 4 kB / 0.4941 GB, free: 2.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004127/0.4754, allocations: 2.457 MB / 0.4965 GB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.4754, allocations: 45.64 kB / 0.4966 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.4754, allocations: 8 kB / 0.4966 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.4765, allocations: 0.5042 MB / 0.4971 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.4775, allocations: 283.6 kB / 0.4974 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/0.485, allocations: 8.806 MB / 0.506 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.4866, allocations: 127.9 kB / 0.5061 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.4867, allocations: 59.98 kB / 0.5061 GB, free: 5.562 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.0004531/0.4872, allocations: 296.4 kB / 0.5064 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.4875, allocations: 134.4 kB / 0.5066 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/0.4912, allocations: 2.187 MB / 0.5087 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.4912, allocations: 12 kB / 0.5087 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-05/0.4913, allocations: 4 kB / 0.5087 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.4913, allocations: 7.922 kB / 0.5087 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2749/0.7662, allocations: 4.593 MB / 0.5132 GB, free: 84.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.7662, allocations: 4.25 kB / 0.5132 GB, free: 84.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008845/0.7671, allocations: 193.7 kB / 0.5134 GB, free: 84.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.7685, allocations: 0.5262 MB / 0.5139 GB, free: 84.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.7686, allocations: 32.78 kB / 0.5139 GB, free: 84.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006928/0.7756, allocations: 8.608 MB / 0.5223 GB, free: 78.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.7756, allocations: 7.688 kB / 0.5223 GB, free: 78.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005561/0.7812, allocations: 3.218 MB / 0.5255 GB, free: 77.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/0.7819, allocations: 360 kB / 0.5258 GB, free: 76.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.7822, allocations: 35.31 kB / 0.5259 GB, free: 76.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009146/0.7831, allocations: 107.8 kB / 0.526 GB, free: 76.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/0.7834, allocations: 108.8 kB / 0.5261 GB, free: 76.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.987e-05/0.7835, allocations: 41.17 kB / 0.5261 GB, free: 76.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.7847, allocations: 0.8013 MB / 0.5269 GB, free: 76.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7847, allocations: 3.906 kB / 0.5269 GB, free: 76.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002332/0.787, allocations: 0.7389 MB / 0.5276 GB, free: 76.49 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.0003734/0.7874, allocations: 196 kB / 0.5278 GB, free: 76.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009576/0.797, allocations: 7.076 MB / 0.5347 GB, free: 72.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.797, allocations: 0 / 0.5347 GB, free: 72.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003672/0.8007, allocations: 2.833 MB / 0.5375 GB, free: 69.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.8027, allocations: 383.5 kB / 0.5378 GB, free: 69.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.8089, allocations: 5.088 MB / 0.5428 GB, free: 64.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.81, allocations: 1.738 MB / 0.5445 GB, free: 62.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001236/0.8112, allocations: 423.5 kB / 0.5449 GB, free: 62.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.8115, allocations: 99.36 kB / 0.545 GB, free: 62.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.644e-06/0.8115, allocations: 0 / 0.545 GB, free: 62.12 MB / 382.1 MB Notification: Performance of Templates: time 0.04275/0.8542, allocations: 31.28 MB / 0.5756 GB, free: 31.18 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 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)