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.07997/0.07997, allocations: 8.027 MB / 23.51 MB, free: 4.773 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.001206/0.001206, allocations: 96.14 kB / 26.08 MB, free: 3.09 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.001464/0.001464, allocations: 202.4 kB / 28.78 MB, free: 408 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.41/1.41, allocations: 222.9 MB / 254.2 MB, free: 4.824 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01628/0.01628, allocations: 3.115 MB / 309.2 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 83.86 kB / 373.6 MB, free: 1.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2527, allocations: 51.97 MB / 425.6 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008913/0.2616, allocations: 9.027 MB / 434.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005851/0.2675, allocations: 2.552 MB / 437.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.2693, allocations: 43.81 kB / 437.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.2707, allocations: 464.6 kB / 437.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.2728, allocations: 0.6482 MB / 438.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.2739, allocations: 497.5 kB / 438.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.2761, allocations: 2.452 MB / 441.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.2778, allocations: 2.049 MB / 443.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.2797, allocations: 1.082 MB / 444.4 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.2819, allocations: 1.323 MB / 445.7 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005157/0.2824, allocations: 296 kB / 446 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009807/0.2834, allocations: 387.8 kB / 446.4 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00079/0.2842, allocations: 0.7831 MB / 447.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.2857, allocations: 1.279 MB / 448.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004222/0.29, allocations: 3.669 MB / 452.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.29, allocations: 0 / 452.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.29, allocations: 0 / 452.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.699e-05/0.2901, allocations: 0 / 452.1 MB, free: 10.77 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.006301/0.2964, allocations: 2.701 MB / 454.8 MB, free: 8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2965, allocations: 8.031 kB / 454.8 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007174/0.2972, allocations: 262.1 kB / 455.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.2993, allocations: 1.283 MB / 456.3 MB, free: 6.402 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.0002482/0.2995, allocations: 219.3 kB / 456.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.2998, allocations: 211.9 kB / 456.8 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004676/0.3045, allocations: 2.69 MB / 459.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.648e-05/0.3046, allocations: 4 kB / 459.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.3048, allocations: 83.98 kB / 459.5 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.3049, allocations: 99.97 kB / 459.6 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004059/0.309, allocations: 2.209 MB / 461.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/0.3223, allocations: 7.957 MB / 469.8 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.325, allocations: 1.589 MB / 471.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.3267, allocations: 0.9401 MB / 472.3 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/0.327, allocations: 122 kB / 472.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001252/0.3282, allocations: 0.7656 MB / 473.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 4.078e-06/0.3282, allocations: 0 / 473.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01472/0.343, allocations: 6.606 MB / 479.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.3431, allocations: 256.3 kB / 480.1 MB, free: 14.03 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.001754/0.3449, allocations: 1.196 MB / 481.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.345, allocations: 49.7 kB / 481.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009089/0.3459, allocations: 0.9153 MB / 482.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.3463, allocations: 406.3 kB / 482.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.3467, allocations: 250.8 kB / 482.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3469, allocations: 357.9 kB / 483.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.3481, allocations: 0.7054 MB / 483.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.3496, allocations: 1.097 MB / 485 MB, free: 8.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008655/0.3582, allocations: 3.558 MB / 488.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.3583, allocations: 7.938 kB / 488.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004437/0.3627, allocations: 2.511 MB / 491.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-05/0.3628, allocations: 41.69 kB / 491.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.3629, allocations: 12 kB / 491.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.3641, allocations: 0.5002 MB / 491.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.3651, allocations: 299.5 kB / 491.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008304/0.3734, allocations: 8.802 MB / 0.489 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.3752, allocations: 123.9 kB / 0.4891 GB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.3754, allocations: 59.98 kB / 0.4892 GB, free: 8.18 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.002191/0.3776, allocations: 1.227 MB / 0.4904 GB, free: 6.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001363/0.3789, allocations: 1.062 MB / 0.4914 GB, free: 5.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007972/0.3869, allocations: 3.507 MB / 0.4948 GB, free: 2.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.355e-05/0.387, allocations: 4 kB / 0.4948 GB, free: 2.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004296/0.3913, allocations: 2.476 MB / 0.4973 GB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.3913, allocations: 33.7 kB / 0.4973 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3913, allocations: 12.06 kB / 0.4973 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.3925, allocations: 0.5041 MB / 0.4978 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009808/0.3935, allocations: 287.4 kB / 0.4981 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008016/0.4015, allocations: 8.795 MB / 0.5067 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.4032, allocations: 127.9 kB / 0.5068 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.4033, allocations: 60.05 kB / 0.5068 GB, free: 5.145 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.0004863/0.4038, allocations: 292.6 kB / 0.5071 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.4041, allocations: 142.4 kB / 0.5073 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/0.408, allocations: 2.184 MB / 0.5094 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.408, allocations: 12 kB / 0.5094 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.4081, allocations: 8 kB / 0.5094 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.4081, allocations: 11.91 kB / 0.5094 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2291/0.6372, allocations: 4.588 MB / 0.5139 GB, free: 84.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6373, allocations: 2.875 kB / 0.5139 GB, free: 84.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008958/0.6382, allocations: 194.1 kB / 0.5141 GB, free: 84.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001451/0.6396, allocations: 0.5224 MB / 0.5146 GB, free: 84.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.6398, allocations: 37.88 kB / 0.5146 GB, free: 84.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00699/0.6468, allocations: 8.619 MB / 0.5231 GB, free: 78.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6468, allocations: 3.906 kB / 0.5231 GB, free: 78.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004865/0.6517, allocations: 3.224 MB / 0.5262 GB, free: 76.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008525/0.6526, allocations: 357.6 kB / 0.5265 GB, free: 76.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.6528, allocations: 35.36 kB / 0.5266 GB, free: 76.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009514/0.6538, allocations: 110.5 kB / 0.5267 GB, free: 76.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003724/0.6542, allocations: 107.8 kB / 0.5268 GB, free: 76.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.279e-05/0.6543, allocations: 37.16 kB / 0.5268 GB, free: 76.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.6555, allocations: 0.8023 MB / 0.5276 GB, free: 76.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6555, allocations: 2.406 kB / 0.5276 GB, free: 76.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002681/0.6582, allocations: 0.7408 MB / 0.5283 GB, free: 76.13 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.0003375/0.6585, allocations: 192.8 kB / 0.5285 GB, free: 76.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008683/0.6672, allocations: 6.672 MB / 0.535 GB, free: 71.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.6673, allocations: 2.531 kB / 0.535 GB, free: 71.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003553/0.6708, allocations: 2.838 MB / 0.5378 GB, free: 69.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.6726, allocations: 382 kB / 0.5382 GB, free: 68.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/0.6782, allocations: 4.223 MB / 0.5423 GB, free: 64.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.6793, allocations: 1.744 MB / 0.544 GB, free: 63.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0011/0.6804, allocations: 419.6 kB / 0.5444 GB, free: 62.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.6806, allocations: 95.42 kB / 0.5445 GB, free: 62.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6807, allocations: 4 kB / 0.5445 GB, free: 62.68 MB / 382.1 MB Notification: Performance of Templates: time 0.04353/0.7242, allocations: 31.22 MB / 0.575 GB, free: 31.8 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)