Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06235/0.06235, allocations: 8.037 MB / 23.67 MB, free: 0.5938 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.001047/0.001047, allocations: 94.69 kB / 26.25 MB, free: 3.398 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.001188/0.001188, allocations: 192.1 kB / 28.94 MB, free: 0.7109 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.381/1.381, allocations: 222.9 MB / 254.4 MB, free: 4.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01273/0.01273, allocations: 3.118 MB / 309.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 95.84 kB / 426.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.09583, allocations: 51.97 MB / 478.9 MB, free: 13.52 MB / 350.1 MB [/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. [/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: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/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) 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: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: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:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*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=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) 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=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) 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: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: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. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.01019/0.1061, allocations: 9.054 MB / 487.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.1109, allocations: 2.571 MB / 490.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.1121, allocations: 43.81 kB / 490.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.1134, allocations: 472.7 kB / 491 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.1158, allocations: 0.6794 MB / 491.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.117, allocations: 0.4948 MB / 492.2 MB, free: 160 kB / 350.1 MB [/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/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. Notification: Performance of NFFlatten.flatten: time 0.003106/0.1201, allocations: 2.471 MB / 494.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/0.1229, allocations: 2.049 MB / 496.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.1248, allocations: 1.106 MB / 497.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.1264, allocations: 1.312 MB / 499.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.1268, allocations: 303.9 kB / 499.4 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006639/0.1275, allocations: 387.8 kB / 499.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007399/0.1282, allocations: 0.7908 MB / 0.4889 GB, free: 7.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.1298, allocations: 1.28 MB / 0.4901 GB, free: 6.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003906/0.1337, allocations: 3.741 MB / 0.4938 GB, free: 2.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1337, allocations: 0 / 0.4938 GB, free: 2.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1337, allocations: 0 / 0.4938 GB, free: 2.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.063e-05/0.1338, allocations: 4 kB / 0.4938 GB, free: 2.617 MB / 366.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.005541/0.1394, allocations: 2.75 MB / 0.4964 GB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1394, allocations: 11.97 kB / 0.4965 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007209/0.1401, allocations: 279.4 kB / 0.4967 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.1423, allocations: 1.331 MB / 0.498 GB, free: 14.14 MB / 382.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.0002599/0.1425, allocations: 219.4 kB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.1429, allocations: 211.9 kB / 0.4984 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004453/0.1473, allocations: 2.694 MB / 0.5011 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.052e-05/0.1474, allocations: 4 kB / 0.5011 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.1476, allocations: 80 kB / 0.5011 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.72e-05/0.1477, allocations: 99.97 kB / 0.5012 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003912/0.1516, allocations: 2.209 MB / 0.5034 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.1635, allocations: 7.897 MB / 0.5111 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2239/0.3874, allocations: 1.573 MB / 0.5126 GB, free: 39.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.3897, allocations: 0.9322 MB / 0.5136 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.39, allocations: 120.8 kB / 0.5137 GB, free: 39.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/0.3917, allocations: 0.7717 MB / 0.5144 GB, free: 39.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.056e-06/0.3917, allocations: 1.469 kB / 0.5144 GB, free: 39.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01654/0.4083, allocations: 6.662 MB / 0.5209 GB, free: 36.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.626e-05/0.4084, allocations: 252.4 kB / 0.5212 GB, free: 36.43 MB / 382.1 MB [/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.4104, allocations: 1.168 MB / 0.5223 GB, free: 35.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.4105, allocations: 54.92 kB / 0.5224 GB, free: 35.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008498/0.4114, allocations: 0.9418 MB / 0.5233 GB, free: 35.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.4118, allocations: 423.8 kB / 0.5237 GB, free: 35.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004247/0.4122, allocations: 249.8 kB / 0.5239 GB, free: 34.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.4123, allocations: 360.7 kB / 0.5243 GB, free: 34.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.4136, allocations: 0.7113 MB / 0.525 GB, free: 34.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.4151, allocations: 1.085 MB / 0.526 GB, free: 33.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008604/0.4237, allocations: 3.554 MB / 0.5295 GB, free: 32.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/0.4237, allocations: 4.812 kB / 0.5295 GB, free: 32.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004195/0.4279, allocations: 2.521 MB / 0.532 GB, free: 31.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.428, allocations: 37.17 kB / 0.532 GB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.428, allocations: 11.62 kB / 0.532 GB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.4291, allocations: 0.4965 MB / 0.5325 GB, free: 30.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009944/0.4301, allocations: 288.9 kB / 0.5328 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/0.4361, allocations: 8.813 MB / 0.5414 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.4376, allocations: 119.1 kB / 0.5415 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.4377, allocations: 64.95 kB / 0.5416 GB, free: 23.13 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001852/0.4396, allocations: 1.228 MB / 0.5427 GB, free: 22.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001072/0.4407, allocations: 1.072 MB / 0.5438 GB, free: 21.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007105/0.4478, allocations: 3.48 MB / 0.5472 GB, free: 17.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.078e-05/0.4478, allocations: 4 kB / 0.5472 GB, free: 17.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.0036/0.4514, allocations: 2.477 MB / 0.5496 GB, free: 15.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.4515, allocations: 41.69 kB / 0.5497 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.4515, allocations: 11.42 kB / 0.5497 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009623/0.4525, allocations: 0.5038 MB / 0.5502 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009162/0.4534, allocations: 283.5 kB / 0.5504 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005742/0.4591, allocations: 8.79 MB / 0.559 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.4607, allocations: 139.9 kB / 0.5591 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.4609, allocations: 57.02 kB / 0.5592 GB, free: 4.91 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.000428/0.4613, allocations: 310.8 kB / 0.5595 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.4616, allocations: 147.1 kB / 0.5596 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003375/0.465, allocations: 2.189 MB / 0.5618 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.465, allocations: 15.94 kB / 0.5618 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.465, allocations: 4 kB / 0.5618 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.465, allocations: 7.969 kB / 0.5618 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007067/0.4721, allocations: 4.593 MB / 0.5663 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.4721, allocations: 5.094 kB / 0.5663 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008315/0.473, allocations: 187.7 kB / 0.5665 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.4744, allocations: 0.5268 MB / 0.567 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.4745, allocations: 35.97 kB / 0.567 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008469/0.483, allocations: 8.613 MB / 0.5754 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.483, allocations: 7.938 kB / 0.5754 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006144/0.4892, allocations: 3.228 MB / 0.5786 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.4902, allocations: 368.1 kB / 0.5789 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/0.4907, allocations: 35.98 kB / 0.579 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.4919, allocations: 99.89 kB / 0.5791 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/0.4923, allocations: 112.7 kB / 0.5792 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/0.4924, allocations: 43.98 kB / 0.5792 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001262/0.4936, allocations: 0.7939 MB / 0.58 GB, free: 14.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4936, allocations: 0 / 0.58 GB, free: 14.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00283/0.4965, allocations: 0.7422 MB / 0.5807 GB, free: 14.07 MB / 414.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.0003983/0.4969, allocations: 195.3 kB / 0.5809 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01074/0.5076, allocations: 6.686 MB / 0.5874 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.5077, allocations: 0 / 0.5874 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004404/0.5121, allocations: 2.833 MB / 0.5902 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/0.5144, allocations: 388.5 kB / 0.5906 GB, free: 3.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00825/0.5227, allocations: 4.252 MB / 0.5947 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/0.5248, allocations: 1.742 MB / 0.5964 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001523/0.5264, allocations: 415.6 kB / 0.5968 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.5268, allocations: 95.42 kB / 0.5969 GB, free: 13.04 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5268, allocations: 0 / 0.5969 GB, free: 13.04 MB / 430.1 MB Notification: Performance of Templates: time 0.05603/0.5828, allocations: 31.66 MB / 0.6278 GB, free: 13.69 MB / 462.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & ./EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)