Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05116/0.05116, allocations: 8.03 MB / 23.66 MB, free: 204 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.001008/0.001008, allocations: 105.4 kB / 26.26 MB, free: 3.172 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.001113/0.001113, allocations: 199 kB / 28.94 MB, free: 0.4922 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.261/1.261, allocations: 222.9 MB / 254.4 MB, free: 4.672 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.122 MB / 309.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 91.86 kB / 426.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08482/0.08639, allocations: 51.97 MB / 478.9 MB, free: 13.53 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.009265/0.09569, allocations: 9.064 MB / 487.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.09945, allocations: 2.56 MB / 490.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005189/0.09999, allocations: 51.81 kB / 490.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008649/0.1009, allocations: 468.7 kB / 491 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.1021, allocations: 0.6833 MB / 491.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007319/0.1028, allocations: 0.491 MB / 492.2 MB, free: 172 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.001993/0.1048, allocations: 2.483 MB / 494.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.1068, allocations: 2.045 MB / 496.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.1078, allocations: 1.098 MB / 497.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.1091, allocations: 1.319 MB / 499.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.1094, allocations: 303.9 kB / 499.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.1099, allocations: 391.8 kB / 499.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000632/0.1105, allocations: 0.7792 MB / 0.4888 GB, free: 7.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.1116, allocations: 1.287 MB / 0.4901 GB, free: 6.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.1143, allocations: 3.715 MB / 0.4937 GB, free: 2.652 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1144, allocations: 4 kB / 0.4937 GB, free: 2.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1144, allocations: 4 kB / 0.4937 GB, free: 2.645 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.048e-05/0.1144, allocations: 0 / 0.4937 GB, free: 2.645 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.004402/0.1188, allocations: 2.699 MB / 0.4964 GB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1189, allocations: 15.97 kB / 0.4964 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005894/0.1195, allocations: 266.1 kB / 0.4966 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.1212, allocations: 1.329 MB / 0.4979 GB, free: 14.23 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.0002072/0.1214, allocations: 215.4 kB / 0.4981 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.1217, allocations: 215.9 kB / 0.4984 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003902/0.1256, allocations: 2.687 MB / 0.501 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.673e-05/0.1257, allocations: 4 kB / 0.501 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.1259, allocations: 84 kB / 0.5011 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.561e-05/0.126, allocations: 95.97 kB / 0.5012 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/0.1294, allocations: 2.213 MB / 0.5033 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009819/0.1393, allocations: 7.856 MB / 0.511 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1867/0.326, allocations: 1.583 MB / 0.5125 GB, free: 39.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.3279, allocations: 0.9391 MB / 0.5134 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.3281, allocations: 126.7 kB / 0.5136 GB, free: 39.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.3293, allocations: 0.7675 MB / 0.5143 GB, free: 39.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.136e-06/0.3293, allocations: 0.75 kB / 0.5143 GB, free: 39.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01382/0.3432, allocations: 6.605 MB / 0.5208 GB, free: 36.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.3433, allocations: 250.7 kB / 0.521 GB, free: 36.49 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.001867/0.3452, allocations: 1.169 MB / 0.5222 GB, free: 36.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.292e-05/0.3453, allocations: 48.86 kB / 0.5222 GB, free: 35.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007229/0.346, allocations: 0.9216 MB / 0.5231 GB, free: 35.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.3463, allocations: 402 kB / 0.5235 GB, free: 34.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003944/0.3467, allocations: 250 kB / 0.5237 GB, free: 34.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3468, allocations: 361.1 kB / 0.5241 GB, free: 34.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.348, allocations: 0.7066 MB / 0.5248 GB, free: 34.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.3495, allocations: 1.093 MB / 0.5258 GB, free: 33.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008148/0.3576, allocations: 3.556 MB / 0.5293 GB, free: 32.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.3577, allocations: 5.719 kB / 0.5293 GB, free: 32.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004391/0.3621, allocations: 2.517 MB / 0.5318 GB, free: 30.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.3621, allocations: 41.2 kB / 0.5318 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.3622, allocations: 11.75 kB / 0.5318 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.3632, allocations: 0.4935 MB / 0.5323 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009733/0.3642, allocations: 292.6 kB / 0.5326 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006556/0.3707, allocations: 8.794 MB / 0.5412 GB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.372, allocations: 131 kB / 0.5413 GB, free: 23.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.3722, allocations: 62.8 kB / 0.5413 GB, free: 23.09 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.001854/0.374, allocations: 1.221 MB / 0.5425 GB, free: 22.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001061/0.3751, allocations: 1.07 MB / 0.5436 GB, free: 21.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00691/0.382, allocations: 3.489 MB / 0.547 GB, free: 17.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.805e-06/0.382, allocations: 4 kB / 0.547 GB, free: 17.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003475/0.3855, allocations: 2.465 MB / 0.5494 GB, free: 15.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3856, allocations: 37.7 kB / 0.5494 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3856, allocations: 11.83 kB / 0.5494 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009137/0.3865, allocations: 0.5038 MB / 0.5499 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/0.3874, allocations: 279.6 kB / 0.5502 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00565/0.3931, allocations: 8.799 MB / 0.5588 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.3944, allocations: 135.9 kB / 0.5589 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-05/0.3945, allocations: 58.92 kB / 0.559 GB, free: 4.988 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.0004508/0.395, allocations: 296.8 kB / 0.5593 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.3952, allocations: 138.3 kB / 0.5594 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.3985, allocations: 2.195 MB / 0.5615 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3985, allocations: 12 kB / 0.5616 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3985, allocations: 4 kB / 0.5616 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3985, allocations: 3.984 kB / 0.5616 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/0.405, allocations: 4.594 MB / 0.566 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.405, allocations: 4 kB / 0.566 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008097/0.4058, allocations: 195.7 kB / 0.5662 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.4071, allocations: 0.5187 MB / 0.5667 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-05/0.4072, allocations: 39.98 kB / 0.5668 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007314/0.4145, allocations: 8.612 MB / 0.5752 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4145, allocations: 4 kB / 0.5752 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/0.4197, allocations: 3.222 MB / 0.5783 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007017/0.4205, allocations: 355.4 kB / 0.5787 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.4207, allocations: 36.66 kB / 0.5787 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.4217, allocations: 103.8 kB / 0.5788 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/0.4219, allocations: 112.7 kB / 0.5789 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.15e-05/0.422, allocations: 43.97 kB / 0.579 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.4231, allocations: 0.7979 MB / 0.5797 GB, free: 14.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4231, allocations: 0 / 0.5797 GB, free: 14.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002447/0.4256, allocations: 0.7422 MB / 0.5805 GB, free: 14.18 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.0003469/0.4259, allocations: 195.1 kB / 0.5807 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009804/0.4357, allocations: 6.68 MB / 0.5872 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.4358, allocations: 0 / 0.5872 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004126/0.4399, allocations: 2.836 MB / 0.5899 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.4419, allocations: 384.8 kB / 0.5903 GB, free: 3.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006309/0.4482, allocations: 4.177 MB / 0.5944 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.4495, allocations: 1.733 MB / 0.5961 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001163/0.4507, allocations: 423.6 kB / 0.5965 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.451, allocations: 95.42 kB / 0.5966 GB, free: 13.26 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.451, allocations: 0 / 0.5966 GB, free: 13.26 MB / 430.1 MB Notification: Performance of Templates: time 0.04584/0.4968, allocations: 31.67 MB / 0.6275 GB, free: 13.89 MB / 462.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & ./EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)