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 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.0323/0.0323, allocations: 6.485 MB / 26.04 MB, free: 2.969 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008813/0.0008813, allocations: 86.95 kB / 31.37 MB, free: 4.543 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 176.7 kB / 36.8 MB, free: 7.363 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8887/0.8887, allocations: 177.2 MB / 219.3 MB, free: 11.79 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0123/0.0123, allocations: 2.518 MB / 280.4 MB, free: 2.02 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 354.5 MB, free: 7.785 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.168e-05, allocations: 2.312 kB / 354.5 MB, free: 7.781 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.128/0.128, allocations: 9.578 MB / 364.1 MB, free: 75.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004907/0.133, allocations: 2.715 MB / 366.8 MB, free: 75.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.1341, allocations: 72.34 kB / 366.9 MB, free: 75.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1351, allocations: 497.3 kB / 367.3 MB, free: 74.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.1372, allocations: 0.7326 MB / 368.1 MB, free: 74.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1383, allocations: 0.5549 MB / 368.6 MB, free: 74.12 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.003241/0.1416, allocations: 2.755 MB / 371.4 MB, free: 72.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.1433, allocations: 1.289 MB / 372.7 MB, free: 72.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.1461, allocations: 1.872 MB / 374.5 MB, free: 71.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.1481, allocations: 1.303 MB / 375.8 MB, free: 70.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008867/0.149, allocations: 328.2 kB / 376.2 MB, free: 70.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007855/0.1498, allocations: 425.9 kB / 376.6 MB, free: 70.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005952/0.1504, allocations: 0.8767 MB / 377.5 MB, free: 70.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.1518, allocations: 0.9879 MB / 378.4 MB, free: 69.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.1546, allocations: 2.297 MB / 380.7 MB, free: 68.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1546, allocations: 1.281 kB / 380.7 MB, free: 68.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1546, allocations: 1.406 kB / 380.7 MB, free: 68.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.328e-05/0.1547, allocations: 0 / 380.7 MB, free: 68.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.004088/0.1588, allocations: 2.998 MB / 383.7 MB, free: 66.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1588, allocations: 8.906 kB / 383.8 MB, free: 66.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007597/0.1596, allocations: 0.4954 MB / 384.2 MB, free: 65.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.1611, allocations: 1.316 MB / 385.6 MB, free: 65.05 MB / 330.7 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.0002347/0.1614, allocations: 287.3 kB / 385.8 MB, free: 64.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.1616, allocations: 234.6 kB / 386.1 MB, free: 64.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.1638, allocations: 1.951 MB / 388 MB, free: 62.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/0.1639, allocations: 16.5 kB / 388 MB, free: 62.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.164, allocations: 97.36 kB / 388.1 MB, free: 62.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.191e-05/0.1641, allocations: 104.5 kB / 388.2 MB, free: 62.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.1655, allocations: 0.8273 MB / 389.1 MB, free: 61.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006934/0.1724, allocations: 7.256 MB / 396.3 MB, free: 54.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1735, allocations: 0.7333 MB / 397.1 MB, free: 53.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/0.1742, allocations: 0.4947 MB / 397.5 MB, free: 52.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.1744, allocations: 52.97 kB / 397.6 MB, free: 52.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005337/0.1749, allocations: 0.5697 MB / 398.2 MB, free: 52.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 4.038e-06/0.1749, allocations: 1.359 kB / 398.2 MB, free: 52.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.005593/0.1805, allocations: 3.648 MB / 401.8 MB, free: 48.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.1805, allocations: 248.8 kB / 402.1 MB, free: 48.32 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.0007824/0.1813, allocations: 0.9451 MB / 403 MB, free: 47.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.1814, allocations: 49.7 kB / 403.1 MB, free: 47.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.1819, allocations: 1.107 MB / 404.2 MB, free: 46.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.1821, allocations: 440.3 kB / 404.6 MB, free: 45.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.1823, allocations: 269.7 kB / 404.9 MB, free: 45.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.863e-05/0.1824, allocations: 477.4 kB / 405.3 MB, free: 45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.1827, allocations: 281.2 kB / 405.6 MB, free: 44.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/0.1832, allocations: 0.9826 MB / 406.6 MB, free: 43.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.1844, allocations: 1.401 MB / 408 MB, free: 41.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.1844, allocations: 4 kB / 408 MB, free: 41.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001777/0.1862, allocations: 1.447 MB / 409.4 MB, free: 40.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.1863, allocations: 33.7 kB / 409.5 MB, free: 40.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.1863, allocations: 12 kB / 409.5 MB, free: 40.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006442/0.1869, allocations: 290.4 kB / 409.8 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.1875, allocations: 283.6 kB / 410 MB, free: 39.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.1905, allocations: 8.355 MB / 418.4 MB, free: 30.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000911/0.1914, allocations: 104.7 kB / 418.5 MB, free: 30.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.648e-05/0.1915, allocations: 63.98 kB / 418.6 MB, free: 30.73 MB / 330.7 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.0009426/0.1924, allocations: 443.1 kB / 419 MB, free: 30.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005211/0.193, allocations: 0.9798 MB / 420 MB, free: 29.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001228/0.1942, allocations: 1.398 MB / 421.4 MB, free: 27.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.787e-06/0.1942, allocations: 4.781 kB / 421.4 MB, free: 27.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.001814/0.196, allocations: 1.443 MB / 422.8 MB, free: 25.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.196, allocations: 33.7 kB / 422.8 MB, free: 25.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1961, allocations: 12 kB / 422.9 MB, free: 25.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/0.1966, allocations: 283.8 kB / 423.1 MB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.1972, allocations: 291.5 kB / 423.4 MB, free: 25.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.2004, allocations: 8.341 MB / 431.8 MB, free: 16.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009186/0.2013, allocations: 119.8 kB / 431.9 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.2014, allocations: 59.98 kB / 431.9 MB, free: 16.32 MB / 330.7 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: 49 * 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 (155): * Single equations (assignments): 148 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000377/0.2018, allocations: 388.7 kB / 432.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.2021, allocations: 183.1 kB / 432.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.2036, allocations: 1.114 MB / 433.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2036, allocations: 12 kB / 433.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2036, allocations: 4 kB / 433.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.2036, allocations: 11.91 kB / 433.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003574/0.2072, allocations: 3.115 MB / 436.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.934e-06/0.2072, allocations: 8.094 kB / 436.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.2076, allocations: 183.8 kB / 436.9 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006386/0.2083, allocations: 324.5 kB / 437.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-05/0.2083, allocations: 39.92 kB / 437.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/0.2114, allocations: 8.303 MB / 445.6 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.2114, allocations: 7.938 kB / 445.6 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.2134, allocations: 1.682 MB / 447.3 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.2139, allocations: 251 kB / 447.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.214, allocations: 37.86 kB / 447.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.2144, allocations: 83.92 kB / 447.7 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.2147, allocations: 120.7 kB / 447.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.2147, allocations: 43.92 kB / 447.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007932/0.2155, allocations: 0.5644 MB / 448.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2155, allocations: 0 / 448.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00215/0.2177, allocations: 0.7734 MB / 449.2 MB, free: 14.34 MB / 346.7 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 (102): * Single equations (assignments): 94 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003394/0.218, allocations: 190.8 kB / 449.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005247/0.2232, allocations: 6.671 MB / 456 MB, free: 7.211 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.2233, allocations: 0 / 456 MB, free: 7.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.2253, allocations: 3.006 MB / 459 MB, free: 4.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.2265, allocations: 350.3 kB / 459.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/0.2318, allocations: 3.866 MB / 463.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.2323, allocations: 0.5815 MB / 463.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008152/0.2331, allocations: 342.2 kB / 464.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.2334, allocations: 92.48 kB / 464.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of SimCode: time 2.053e-06/0.2334, allocations: 0 / 464.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of Templates: time 0.03691/0.2703, allocations: 32 MB / 496.2 MB, free: 15.29 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile [Timeout 660] (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=240 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5954788182862103]