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 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.05129/0.05129, allocations: 6.474 MB / 25.83 MB, free: 3.445 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.001827/0.001827, allocations: 83.3 kB / 31.11 MB, free: 4.762 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.002024/0.002024, allocations: 165.5 kB / 36.47 MB, free: 6.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 1.484/1.484, allocations: 177.2 MB / 218.9 MB, free: 11.75 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.02007/0.02007, allocations: 2.522 MB / 279.9 MB, free: 2.066 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/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_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 353.7 MB, free: 8.207 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.256e-05, allocations: 6.25 kB / 353.7 MB, free: 8.199 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.1413/0.1414, allocations: 9.483 MB / 363.2 MB, free: 74.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005113/0.1465, allocations: 2.712 MB / 365.9 MB, free: 74.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009938/0.1475, allocations: 64.59 kB / 365.9 MB, free: 74.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.1486, allocations: 0.4886 MB / 366.4 MB, free: 74.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.1503, allocations: 0.7358 MB / 367.2 MB, free: 74.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1514, allocations: 0.551 MB / 367.7 MB, free: 73.89 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.003678/0.155, allocations: 2.755 MB / 370.5 MB, free: 72.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.1569, allocations: 1.291 MB / 371.8 MB, free: 71.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.16, allocations: 1.823 MB / 373.6 MB, free: 71.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.162, allocations: 1.325 MB / 374.9 MB, free: 70.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005302/0.1625, allocations: 335.5 kB / 375.2 MB, free: 70.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008671/0.1634, allocations: 422.2 kB / 375.6 MB, free: 70.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007218/0.1641, allocations: 0.911 MB / 376.6 MB, free: 70.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.1654, allocations: 0.9907 MB / 377.5 MB, free: 69.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.1696, allocations: 4.263 MB / 381.8 MB, free: 66.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1696, allocations: 0 / 381.8 MB, free: 66.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1696, allocations: 1.031 kB / 381.8 MB, free: 66.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.15e-05/0.1696, allocations: 3.938 kB / 381.8 MB, free: 66.78 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.006336/0.176, allocations: 3.249 MB / 385.1 MB, free: 64.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.176, allocations: 7.438 kB / 385.1 MB, free: 64.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.1771, allocations: 0.5001 MB / 385.6 MB, free: 64.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.1797, allocations: 1.415 MB / 387 MB, free: 63.26 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.0002309/0.18, allocations: 288.8 kB / 387.3 MB, free: 62.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.1802, allocations: 232.3 kB / 387.5 MB, free: 62.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004067/0.1843, allocations: 2.96 MB / 390.5 MB, free: 59.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-05/0.1844, allocations: 4.891 kB / 390.5 MB, free: 59.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.1846, allocations: 93.09 kB / 390.5 MB, free: 59.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.575e-05/0.1847, allocations: 108.5 kB / 390.7 MB, free: 59.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/0.1876, allocations: 1.843 MB / 392.5 MB, free: 57.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.2, allocations: 10.05 MB / 402.5 MB, free: 47.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.2019, allocations: 1.028 MB / 403.6 MB, free: 46.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.2032, allocations: 0.6822 MB / 404.3 MB, free: 45.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.2034, allocations: 59.06 kB / 404.3 MB, free: 45.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009837/0.2044, allocations: 0.7688 MB / 405.1 MB, free: 44.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/0.2044, allocations: 0 / 405.1 MB, free: 44.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.009497/0.2139, allocations: 4.428 MB / 409.5 MB, free: 40.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/0.2139, allocations: 250 kB / 409.8 MB, free: 39.77 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.001325/0.2153, allocations: 1.295 MB / 411.1 MB, free: 38.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.69e-05/0.2153, allocations: 45.7 kB / 411.1 MB, free: 38.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007182/0.2161, allocations: 1.166 MB / 412.3 MB, free: 37.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.2163, allocations: 477 kB / 412.7 MB, free: 36.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/0.2167, allocations: 317.2 kB / 413 MB, free: 36.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.2168, allocations: 476.9 kB / 413.5 MB, free: 35.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008144/0.2176, allocations: 473.1 kB / 414 MB, free: 35.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.2187, allocations: 1.228 MB / 415.2 MB, free: 33.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.2211, allocations: 2.013 MB / 417.2 MB, free: 31.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.2211, allocations: 4 kB / 417.2 MB, free: 31.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00317/0.2243, allocations: 1.83 MB / 419 MB, free: 29.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.2243, allocations: 37.7 kB / 419.1 MB, free: 29.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.2244, allocations: 12 kB / 419.1 MB, free: 29.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.2254, allocations: 327 kB / 419.4 MB, free: 29.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009577/0.2264, allocations: 295.5 kB / 419.7 MB, free: 29.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.2315, allocations: 8.704 MB / 428.4 MB, free: 20.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.233, allocations: 123.9 kB / 428.5 MB, free: 19.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.2331, allocations: 57.67 kB / 428.6 MB, free: 19.85 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.001651/0.2348, allocations: 0.9497 MB / 429.5 MB, free: 18.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000958/0.2357, allocations: 1.208 MB / 430.7 MB, free: 17.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002368/0.2381, allocations: 1.972 MB / 432.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.655e-06/0.2381, allocations: 4 kB / 432.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003024/0.2411, allocations: 1.787 MB / 434.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.2411, allocations: 37.7 kB / 434.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2411, allocations: 15.94 kB / 434.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.2422, allocations: 324.1 kB / 434.9 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009858/0.2432, allocations: 287.6 kB / 435.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005044/0.2482, allocations: 8.705 MB / 443.9 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.2496, allocations: 123.9 kB / 444 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.2497, allocations: 59.98 kB / 444 MB, free: 3.363 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000433/0.2501, allocations: 383 kB / 444.4 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.2504, allocations: 179.2 kB / 444.6 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.2532, allocations: 1.422 MB / 446 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.2532, allocations: 16 kB / 446 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2532, allocations: 7.938 kB / 446 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.2532, allocations: 7.969 kB / 446 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008102/0.2613, allocations: 3.968 MB / 450 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.2613, allocations: 7.938 kB / 450 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.2624, allocations: 183.8 kB / 450.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.2637, allocations: 356.2 kB / 450.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.2639, allocations: 39.97 kB / 450.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009059/0.2729, allocations: 8.606 MB / 459.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.2729, allocations: 4 kB / 459.2 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/0.2777, allocations: 2.213 MB / 461.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008589/0.2786, allocations: 267 kB / 461.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.2788, allocations: 28 kB / 461.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009127/0.2797, allocations: 95.84 kB / 461.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.28, allocations: 118.3 kB / 461.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.443e-05/0.2801, allocations: 43.98 kB / 461.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001218/0.2813, allocations: 0.7519 MB / 462.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2813, allocations: 0 / 462.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002769/0.2841, allocations: 0.7773 MB / 463.5 MB, free: 15.16 MB / 362.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%), (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.0004075/0.2845, allocations: 192.8 kB / 463.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01141/0.2959, allocations: 7.338 MB / 471 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.2959, allocations: 0 / 471 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004984/0.3009, allocations: 3.205 MB / 474.2 MB, free: 4.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.3028, allocations: 350.2 kB / 474.5 MB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007745/0.3105, allocations: 4.071 MB / 478.6 MB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.3121, allocations: 1.192 MB / 479.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001446/0.3136, allocations: 337.1 kB / 480.1 MB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.3139, allocations: 96.48 kB / 480.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.502e-06/0.3139, allocations: 0 / 480.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of Templates: time 0.1863/0.5001, allocations: 30.63 MB / 0.4989 GB, free: 121.1 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile [Timeout 660] (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=240 -lv LOG_STATS > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.120259527000599]