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.0631/0.0631, allocations: 6.48 MB / 25.84 MB, free: 3.414 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.001937/0.001937, allocations: 75.75 kB / 31.11 MB, free: 4.742 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.002035/0.002035, allocations: 167.9 kB / 36.48 MB, free: 6.879 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.581/1.581, allocations: 177.2 MB / 218.9 MB, free: 13.43 MB / 202.7 MB " [Timeout remaining time 178] 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.01933/0.01933, allocations: 2.512 MB / 279.9 MB, free: 320 kB / 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.372e-06/1.372e-06, allocations: 0 / 353.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.474e-05, allocations: 2.312 kB / 353.7 MB, free: 5.637 MB / 266.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.01126/0.01128, allocations: 9.478 MB / 363.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.01817, allocations: 2.707 MB / 365.9 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.01986, allocations: 67.56 kB / 365.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.02134, allocations: 0.4924 MB / 366.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.02389, allocations: 0.7331 MB / 367.2 MB, free: 8.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.02552, allocations: 0.5499 MB / 367.7 MB, free: 7.543 MB / 282.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.004308/0.02983, allocations: 2.758 MB / 370.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.03216, allocations: 1.289 MB / 371.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.03539, allocations: 1.817 MB / 373.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.03787, allocations: 1.325 MB / 374.9 MB, free: 276 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005925/0.03846, allocations: 336 kB / 375.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.03937, allocations: 431.8 kB / 375.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.04047, allocations: 0.9076 MB / 376.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.04204, allocations: 0.9978 MB / 377.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00596/0.048, allocations: 4.257 MB / 381.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.048, allocations: 0 / 381.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.04801, allocations: 0 / 381.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.752e-05/0.0481, allocations: 0 / 381.8 MB, free: 9.34 MB / 298.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.007548/0.05565, allocations: 3.247 MB / 385.1 MB, free: 6.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.0557, allocations: 12.03 kB / 385.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.05698, allocations: 0.4952 MB / 385.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.06029, allocations: 1.416 MB / 387 MB, free: 4.078 MB / 298.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.0003453/0.06063, allocations: 292 kB / 387.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004368/0.06107, allocations: 236.1 kB / 387.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006167/0.06724, allocations: 2.951 MB / 390.5 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-05/0.06731, allocations: 11.94 kB / 390.5 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.06754, allocations: 92 kB / 390.6 MB, free: 344 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.0677, allocations: 108.5 kB / 390.7 MB, free: 232 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004274/0.07197, allocations: 1.849 MB / 392.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01916/0.09113, allocations: 10.04 MB / 402.6 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/0.09396, allocations: 1.034 MB / 403.6 MB, free: 2.812 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.09566, allocations: 0.6887 MB / 404.3 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.0959, allocations: 52.95 kB / 404.3 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/0.09731, allocations: 0.767 MB / 405.1 MB, free: 1.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.766e-06/0.09732, allocations: 0 / 405.1 MB, free: 1.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=121): time 0.01261/0.1099, allocations: 4.424 MB / 409.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/0.1101, allocations: 248.3 kB / 409.8 MB, free: 12.46 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.002317/0.1124, allocations: 1.291 MB / 411 MB, free: 11.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.1126, allocations: 49.7 kB / 411.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.1139, allocations: 1.166 MB / 412.3 MB, free: 9.914 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005479/0.1145, allocations: 484.2 kB / 412.7 MB, free: 9.438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000582/0.115, allocations: 317.2 kB / 413 MB, free: 9.117 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.1153, allocations: 480.7 kB / 413.5 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.1163, allocations: 469.1 kB / 414 MB, free: 8.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.1181, allocations: 1.22 MB / 415.2 MB, free: 6.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003946/0.1221, allocations: 2.023 MB / 417.2 MB, free: 4.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.1221, allocations: 4 kB / 417.2 MB, free: 4.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004283/0.1264, allocations: 1.826 MB / 419 MB, free: 2.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.1264, allocations: 37.7 kB / 419.1 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/0.1265, allocations: 8 kB / 419.1 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.1277, allocations: 330.5 kB / 419.4 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.1289, allocations: 295.5 kB / 419.7 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1541/0.283, allocations: 8.692 MB / 428.4 MB, free: 65.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.2847, allocations: 125.9 kB / 428.5 MB, free: 65.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.2848, allocations: 61.41 kB / 428.6 MB, free: 65.14 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.001997/0.2868, allocations: 0.9509 MB / 429.5 MB, free: 64.97 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001225/0.2881, allocations: 1.206 MB / 430.7 MB, free: 64.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002821/0.2909, allocations: 1.974 MB / 432.7 MB, free: 63.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.097e-06/0.2909, allocations: 2.75 kB / 432.7 MB, free: 63.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003854/0.2947, allocations: 1.791 MB / 434.5 MB, free: 62.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.2948, allocations: 37.72 kB / 434.5 MB, free: 62.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.2948, allocations: 10.44 kB / 434.5 MB, free: 62.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.296, allocations: 323.2 kB / 434.9 MB, free: 62.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.297, allocations: 289.9 kB / 435.1 MB, free: 62.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005165/0.3022, allocations: 8.701 MB / 443.8 MB, free: 54.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.3035, allocations: 129.8 kB / 444 MB, free: 54.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.3036, allocations: 61.23 kB / 444 MB, free: 54.82 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.000395/0.304, allocations: 384.3 kB / 444.4 MB, free: 54.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.3042, allocations: 182 kB / 444.6 MB, free: 54.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.307, allocations: 1.419 MB / 446 MB, free: 53.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.307, allocations: 11.5 kB / 446 MB, free: 53.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.307, allocations: 3.75 kB / 446 MB, free: 53.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.307, allocations: 7.172 kB / 446 MB, free: 53.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006025/0.3131, allocations: 3.971 MB / 450 MB, free: 52.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3131, allocations: 3.875 kB / 450 MB, free: 52.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/0.3138, allocations: 193.1 kB / 450.2 MB, free: 52.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.315, allocations: 352.1 kB / 450.5 MB, free: 51.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.578e-05/0.3151, allocations: 39.19 kB / 450.6 MB, free: 51.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004815/0.3199, allocations: 8.6 MB / 459.2 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3199, allocations: 7.938 kB / 459.2 MB, free: 43.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/0.3235, allocations: 2.22 MB / 461.4 MB, free: 40.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007099/0.3242, allocations: 255 kB / 461.7 MB, free: 40.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.3244, allocations: 28 kB / 461.7 MB, free: 40.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008472/0.3252, allocations: 95.91 kB / 461.8 MB, free: 40.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.3255, allocations: 120.7 kB / 461.9 MB, free: 40.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.42e-05/0.3255, allocations: 40.97 kB / 461.9 MB, free: 40.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000823/0.3264, allocations: 0.7519 MB / 462.7 MB, free: 39.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3264, allocations: 0 / 462.7 MB, free: 39.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002444/0.3288, allocations: 0.7759 MB / 463.5 MB, free: 38.63 MB / 330.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.0003312/0.3291, allocations: 204 kB / 463.7 MB, free: 38.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007436/0.3366, allocations: 7.344 MB / 471 MB, free: 30.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.3366, allocations: 0 / 471 MB, free: 30.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002988/0.3396, allocations: 3.21 MB / 474.2 MB, free: 27.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.3412, allocations: 341.1 kB / 474.5 MB, free: 27.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.3465, allocations: 4.077 MB / 478.6 MB, free: 23.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009/0.3474, allocations: 1.18 MB / 479.8 MB, free: 21.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009359/0.3483, allocations: 350.8 kB / 480.1 MB, free: 21.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.3486, allocations: 96.48 kB / 480.2 MB, free: 21.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.3486, allocations: 0 / 480.2 MB, free: 21.36 MB / 330.7 MB Notification: Performance of Templates: time 0.04534/0.3939, allocations: 30.62 MB / 0.4989 GB, free: 7.164 MB / 346.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: 6.075084822019562]