Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.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.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.057/0.057, allocations: 8.036 MB / 23.27 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009593/0.0009592, allocations: 105.6 kB / 25.83 MB, free: 3.5 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.001179/0.001179, allocations: 195.2 kB / 28.51 MB, free: 0.8281 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.598/1.598, allocations: 222.9 MB / 253.9 MB, free: 3.273 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01205/0.01205, allocations: 3.125 MB / 309 MB, free: 2.363 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 87.86 kB / 373.1 MB, free: 2.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.382, allocations: 51.97 MB / 425.1 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.009198/0.3913, allocations: 9.08 MB / 434.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007255/0.3986, allocations: 2.591 MB / 436.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.4015, allocations: 43.81 kB / 436.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.4037, allocations: 389.6 kB / 437.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003497/0.4073, allocations: 0.571 MB / 437.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.4089, allocations: 463.5 kB / 438.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003046/0.4119, allocations: 2.468 MB / 440.7 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.4139, allocations: 2.049 MB / 442.7 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.4154, allocations: 1.102 MB / 443.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.417, allocations: 1.354 MB / 445.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.4174, allocations: 300 kB / 445.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007314/0.4181, allocations: 399.8 kB / 445.9 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005861/0.4187, allocations: 0.7832 MB / 446.7 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.4202, allocations: 1.295 MB / 448 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003858/0.4241, allocations: 3.692 MB / 451.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4241, allocations: 0 / 451.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4242, allocations: 0 / 451.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.249e-05/0.4242, allocations: 0 / 451.6 MB, free: 10.93 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.006075/0.4303, allocations: 2.709 MB / 454.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4304, allocations: 8.031 kB / 454.4 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/0.4311, allocations: 266 kB / 454.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.4332, allocations: 1.298 MB / 455.9 MB, free: 6.539 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.0002383/0.4335, allocations: 227.4 kB / 456.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.4338, allocations: 207.9 kB / 456.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004548/0.4383, allocations: 2.715 MB / 459.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.826e-05/0.4384, allocations: 7.906 kB / 459.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.4386, allocations: 83.94 kB / 459.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.4387, allocations: 104 kB / 459.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/0.4425, allocations: 2.225 MB / 461.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/0.4548, allocations: 8.012 MB / 469.5 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.4573, allocations: 1.613 MB / 471.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.459, allocations: 0.9556 MB / 472.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.4592, allocations: 126.1 kB / 472.2 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.4605, allocations: 0.7734 MB / 473 MB, free: 5.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.554e-06/0.4605, allocations: 0 / 473 MB, free: 5.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01487/0.4754, allocations: 6.656 MB / 479.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.4756, allocations: 244.3 kB / 479.9 MB, free: 13.93 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.4774, allocations: 1.207 MB / 481.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.4776, allocations: 45.7 kB / 481.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008469/0.4784, allocations: 0.9309 MB / 482 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/0.4788, allocations: 410.2 kB / 482.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003989/0.4792, allocations: 255.4 kB / 482.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4794, allocations: 365.9 kB / 483 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.4806, allocations: 0.7153 MB / 483.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.4822, allocations: 1.096 MB / 484.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008531/0.4907, allocations: 3.591 MB / 488.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.4908, allocations: 4 kB / 488.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004368/0.4951, allocations: 2.529 MB / 491 MB, free: 2.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/0.4952, allocations: 37.7 kB / 491 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.4952, allocations: 12 kB / 491 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.4964, allocations: 0.5011 MB / 491.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.4974, allocations: 303.4 kB / 491.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007529/0.5049, allocations: 8.805 MB / 0.4889 GB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.5065, allocations: 127.9 kB / 0.489 GB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.5067, allocations: 59.98 kB / 0.4891 GB, free: 7.977 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.002128/0.5088, allocations: 1.231 MB / 0.4903 GB, free: 6.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001309/0.5101, allocations: 1.068 MB / 0.4913 GB, free: 5.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007913/0.5181, allocations: 3.536 MB / 0.4948 GB, free: 1.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.165e-05/0.5181, allocations: 0 / 0.4948 GB, free: 1.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.00398/0.5221, allocations: 2.482 MB / 0.4972 GB, free: 15.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.5221, allocations: 41.64 kB / 0.4972 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.5222, allocations: 8.062 kB / 0.4972 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.5232, allocations: 0.515 MB / 0.4977 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009859/0.5242, allocations: 283.5 kB / 0.498 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009315/0.5335, allocations: 8.803 MB / 0.5066 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/0.5362, allocations: 139.8 kB / 0.5067 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/0.5365, allocations: 55.98 kB / 0.5068 GB, free: 4.883 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.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (150): * Single equations (assignments): 143 * 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.0008628/0.5374, allocations: 291.8 kB / 0.5071 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005753/0.538, allocations: 134.4 kB / 0.5072 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005036/0.5431, allocations: 2.203 MB / 0.5094 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/0.5431, allocations: 15.94 kB / 0.5094 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.5431, allocations: 4 kB / 0.5094 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.5431, allocations: 3.984 kB / 0.5094 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2642/0.8073, allocations: 4.625 MB / 0.5139 GB, free: 84.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.8074, allocations: 3.812 kB / 0.5139 GB, free: 84.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009018/0.8083, allocations: 203.2 kB / 0.5141 GB, free: 84.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.8097, allocations: 0.5244 MB / 0.5146 GB, free: 84.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.8099, allocations: 38.62 kB / 0.5146 GB, free: 84.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006735/0.8166, allocations: 8.614 MB / 0.5231 GB, free: 78.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.8167, allocations: 13.8 kB / 0.5231 GB, free: 78.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005012/0.8217, allocations: 3.238 MB / 0.5262 GB, free: 76.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008049/0.8225, allocations: 356 kB / 0.5266 GB, free: 76.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.8227, allocations: 36.05 kB / 0.5266 GB, free: 76.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009574/0.8237, allocations: 104.2 kB / 0.5267 GB, free: 76.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.824, allocations: 115.4 kB / 0.5268 GB, free: 76.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.071e-05/0.8241, allocations: 43.03 kB / 0.5269 GB, free: 76.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001019/0.8251, allocations: 0.8016 MB / 0.5276 GB, free: 76.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.8251, allocations: 0 / 0.5276 GB, free: 76.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002536/0.8277, allocations: 0.7474 MB / 0.5284 GB, free: 76.23 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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * 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.0003488/0.828, allocations: 201.6 kB / 0.5286 GB, free: 76.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009285/0.8373, allocations: 7.116 MB / 0.5355 GB, free: 71.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.8373, allocations: 0 / 0.5355 GB, free: 71.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.841, allocations: 2.848 MB / 0.5383 GB, free: 68.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.843, allocations: 379.4 kB / 0.5387 GB, free: 68.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.8486, allocations: 5.143 MB / 0.5437 GB, free: 63.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009366/0.8495, allocations: 1.75 MB / 0.5454 GB, free: 61.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001132/0.8507, allocations: 415.6 kB / 0.5458 GB, free: 61.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.8509, allocations: 95.42 kB / 0.5459 GB, free: 61.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.8509, allocations: 0 / 0.5459 GB, free: 61.29 MB / 382.1 MB Notification: Performance of Templates: time 0.0493/0.9002, allocations: 31.37 MB / 0.5765 GB, free: 30.25 MB / 382.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.makefile (rm -f EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.sim & ./EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)