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.02938/0.02938, allocations: 6.465 MB / 26.33 MB, free: 3.258 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.0008048/0.0008048, allocations: 83.23 kB / 31.7 MB, free: 4.496 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.0008658/0.0008658, allocations: 169.3 kB / 35.12 MB, free: 1.082 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.8851/0.8851, allocations: 177.1 MB / 215.5 MB, free: 13.31 MB / 202.7 MB " [Timeout remaining time 179] 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.015/0.015, allocations: 2.523 MB / 274.6 MB, free: 2.227 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.132e-06/1.132e-06, allocations: 0 / 293.5 MB, free: 19.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.131e-05, allocations: 2.812 kB / 293.5 MB, free: 19.47 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.007338/0.007349, allocations: 9.402 MB / 302.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004832/0.01218, allocations: 2.818 MB / 305.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008162/0.013, allocations: 68.56 kB / 305.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.01407, allocations: 0.4903 MB / 306.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.01542, allocations: 0.74 MB / 307 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/0.01621, allocations: 0.5526 MB / 307.6 MB, free: 10.36 MB / 266.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.002013/0.01823, allocations: 2.76 MB / 310.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.01938, allocations: 1.317 MB / 311.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.02117, allocations: 1.865 MB / 313.5 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.02235, allocations: 1.31 MB / 314.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000283/0.02263, allocations: 328.9 kB / 315.1 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.02301, allocations: 415.9 kB / 315.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003677/0.02337, allocations: 0.8826 MB / 316.4 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005905/0.02396, allocations: 0.9822 MB / 317.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.02525, allocations: 2.289 MB / 319.7 MB, free: 376 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.02525, allocations: 4 kB / 319.7 MB, free: 372 kB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.02526, allocations: 7.875 kB / 319.7 MB, free: 364 kB / 266.7 MB Notification: Performance of Transformations before backend: time 4.363e-05/0.0253, allocations: 0 / 319.7 MB, free: 364 kB / 266.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.003402/0.0287, allocations: 2.678 MB / 322.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.02873, allocations: 12.03 kB / 322.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/0.02951, allocations: 416.5 kB / 322.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.03091, allocations: 0.9258 MB / 323.7 MB, free: 12.25 MB / 282.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.0002059/0.03111, allocations: 292 kB / 324 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.03139, allocations: 240.1 kB / 324.3 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.03363, allocations: 1.826 MB / 326.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.355e-05/0.03368, allocations: 11.94 kB / 326.1 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.03385, allocations: 92 kB / 326.2 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.895e-05/0.03395, allocations: 108.5 kB / 326.3 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.03517, allocations: 0.6602 MB / 326.9 MB, free: 8.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007371/0.04254, allocations: 5.755 MB / 332.7 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/0.04352, allocations: 0.6661 MB / 333.4 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/0.04421, allocations: 446.2 kB / 333.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.04435, allocations: 40.98 kB / 333.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005745/0.04493, allocations: 0.5171 MB / 334.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.715e-06/0.04493, allocations: 0 / 334.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.005664/0.05059, allocations: 2.708 MB / 337.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.05069, allocations: 244.3 kB / 337.3 MB, free: 14.09 MB / 298.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.000755/0.05145, allocations: 0.8055 MB / 338.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.932e-05/0.05152, allocations: 49.7 kB / 338.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000509/0.05203, allocations: 0.9073 MB / 339.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.05233, allocations: 436.3 kB / 339.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.05265, allocations: 247.4 kB / 339.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.05273, allocations: 305.1 kB / 340 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.05307, allocations: 213.3 kB / 340.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/0.05365, allocations: 0.7361 MB / 341 MB, free: 10.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.05496, allocations: 1.123 MB / 342.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.05497, allocations: 4 kB / 342.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001728/0.0567, allocations: 1.082 MB / 343.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.05674, allocations: 33.7 kB / 343.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.05676, allocations: 12 kB / 343.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006844/0.05744, allocations: 271.3 kB / 343.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.05814, allocations: 267.6 kB / 343.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.06269, allocations: 5.883 MB / 349.6 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/0.06337, allocations: 87.89 kB / 349.7 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.022e-05/0.06346, allocations: 51.98 kB / 349.8 MB, free: 0.7383 MB / 298.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.0007038/0.06417, allocations: 336 kB / 350.1 MB, free: 416 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006064/0.06477, allocations: 0.7362 MB / 350.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001292/0.06607, allocations: 1.109 MB / 352 MB, free: 14.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.059e-05/0.06608, allocations: 4 kB / 352 MB, free: 14.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.001679/0.06776, allocations: 1.074 MB / 353 MB, free: 13.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.06779, allocations: 33.7 kB / 353.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.0678, allocations: 12 kB / 353.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006517/0.06845, allocations: 273.4 kB / 353.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.06913, allocations: 267.5 kB / 353.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/0.07308, allocations: 5.893 MB / 359.5 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.07364, allocations: 99.92 kB / 359.6 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.07371, allocations: 47.98 kB / 359.6 MB, free: 6.07 MB / 314.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.0002902/0.074, allocations: 279 kB / 359.9 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.07419, allocations: 131.8 kB / 360 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.07532, allocations: 0.8555 MB / 360.9 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.07533, allocations: 12 kB / 360.9 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.07533, allocations: 4 kB / 360.9 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.07534, allocations: 7.969 kB / 360.9 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.07831, allocations: 2.487 MB / 363.4 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.07831, allocations: 4 kB / 363.4 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.07871, allocations: 171.7 kB / 363.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006444/0.07935, allocations: 327.5 kB / 363.9 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.07942, allocations: 39.97 kB / 363.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003152/0.08258, allocations: 5.869 MB / 369.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.08258, allocations: 7.938 kB / 369.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.08406, allocations: 1.303 MB / 371.1 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.08434, allocations: 171.1 kB / 371.3 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.08445, allocations: 35.98 kB / 371.3 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.0848, allocations: 67.91 kB / 371.4 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.08497, allocations: 112.7 kB / 371.5 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.08501, allocations: 35.98 kB / 371.5 MB, free: 9.543 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003198/0.08533, allocations: 396.1 kB / 371.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.08533, allocations: 0 / 371.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00146/0.08679, allocations: 0.7773 MB / 372.7 MB, free: 8.367 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%), (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.0002369/0.08703, allocations: 178.1 kB / 372.9 MB, free: 8.188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.09061, allocations: 4.82 MB / 377.7 MB, free: 3.152 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/0.09062, allocations: 16.5 kB / 377.7 MB, free: 3.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.09206, allocations: 2.145 MB / 379.8 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007704/0.09283, allocations: 341.8 kB / 380.2 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.09688, allocations: 3.673 MB / 383.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.09731, allocations: 0.5192 MB / 384.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004667/0.09777, allocations: 183.1 kB / 384.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/0.09833, allocations: 353.1 kB / 384.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of SimCode: time 7.91e-07/0.09833, allocations: 0 / 384.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of Templates: time 0.03438/0.1327, allocations: 32.5 MB / 417.4 MB, free: 11.72 MB / 378.7 MB " [Timeout remaining time 660] 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: 3.3663656879216433]