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.04435/0.04435, allocations: 6.481 MB / 25.58 MB, free: 4.691 MB / 19.63 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.001479/0.001479, allocations: 85.11 kB / 30.8 MB, free: 1.305 MB / 19.63 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.001529/0.001529, allocations: 155.8 kB / 36.14 MB, free: 4.012 MB / 26.18 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.412/1.412, allocations: 177.2 MB / 218.5 MB, free: 15.57 MB / 206.1 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.02091/0.02091, allocations: 2.51 MB / 279.5 MB, free: 6.258 MB / 254.1 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.714e-06/1.714e-06, allocations: 0 / 409.3 MB, free: 36.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.669e-05, allocations: 5.234 kB / 409.3 MB, free: 36.01 MB / 334.1 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.007788/0.007814, allocations: 8.656 MB / 418 MB, free: 27.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004639/0.01245, allocations: 2.641 MB / 420.6 MB, free: 24.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.0137, allocations: 67.56 kB / 420.7 MB, free: 24.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.01493, allocations: 496.3 kB / 421.2 MB, free: 24.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.01719, allocations: 0.7447 MB / 421.9 MB, free: 23.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.01831, allocations: 0.5421 MB / 422.4 MB, free: 22.82 MB / 334.1 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.002644/0.02095, allocations: 2.762 MB / 425.2 MB, free: 20.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.02239, allocations: 1.281 MB / 426.5 MB, free: 18.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.02472, allocations: 1.801 MB / 428.3 MB, free: 16.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.02632, allocations: 1.223 MB / 429.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004862/0.02681, allocations: 332 kB / 429.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008122/0.02762, allocations: 431.8 kB / 430.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006981/0.02832, allocations: 0.8842 MB / 431.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.02951, allocations: 0.9861 MB / 432.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00379/0.0333, allocations: 4.238 MB / 436.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.03331, allocations: 0 / 436.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.03331, allocations: 4 kB / 436.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.044e-05/0.0334, allocations: 0 / 436.4 MB, free: 8.793 MB / 334.1 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.006049/0.03945, allocations: 2.882 MB / 439.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.03949, allocations: 8.031 kB / 439.3 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/0.04032, allocations: 307.2 kB / 439.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.04267, allocations: 1.421 MB / 441 MB, free: 4.09 MB / 334.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.0429, allocations: 292 kB / 441.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/0.04318, allocations: 232.1 kB / 441.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/0.04742, allocations: 3.104 MB / 444.6 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.614e-05/0.04748, allocations: 11.95 kB / 444.6 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.04768, allocations: 95.98 kB / 444.7 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.203e-05/0.04776, allocations: 108.5 kB / 444.8 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004498/0.05226, allocations: 2.364 MB / 447.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.06608, allocations: 7.449 MB / 454.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/0.06899, allocations: 1.334 MB / 456 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.07096, allocations: 0.9006 MB / 456.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.07118, allocations: 44.97 kB / 456.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001495/0.07267, allocations: 0.8892 MB / 457.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.367e-06/0.07268, allocations: 0 / 457.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01596/0.08864, allocations: 6.441 MB / 464.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.0888, allocations: 248.3 kB / 464.5 MB, free: 12.02 MB / 366.1 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.001616/0.09041, allocations: 1.011 MB / 465.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.09058, allocations: 53.7 kB / 465.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.09161, allocations: 1.054 MB / 466.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004175/0.09203, allocations: 436.3 kB / 467 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004461/0.09247, allocations: 267.5 kB / 467.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.09261, allocations: 301.1 kB / 467.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.09398, allocations: 0.7325 MB / 468.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.09595, allocations: 1.302 MB / 469.6 MB, free: 6.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009083/0.105, allocations: 3.55 MB / 473.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.105, allocations: 4 kB / 473.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005074/0.1101, allocations: 2.483 MB / 475.6 MB, free: 384 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-05/0.1102, allocations: 33.7 kB / 475.7 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.1102, allocations: 12 kB / 475.7 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.1115, allocations: 0.5137 MB / 476.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.1127, allocations: 299.5 kB / 476.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008989/0.1216, allocations: 8.244 MB / 484.7 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.1232, allocations: 127.8 kB / 484.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.1234, allocations: 68.05 kB / 484.9 MB, free: 6.664 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002519/0.1259, allocations: 1.294 MB / 486.2 MB, free: 5.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001741/0.1276, allocations: 1.275 MB / 487.5 MB, free: 3.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008725/0.1364, allocations: 3.495 MB / 491 MB, free: 220 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.161e-05/0.1364, allocations: 4 kB / 491 MB, free: 216 kB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004673/0.1411, allocations: 2.44 MB / 493.4 MB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.1411, allocations: 45.62 kB / 493.5 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.1411, allocations: 8 kB / 493.5 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.1423, allocations: 0.4964 MB / 494 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.1434, allocations: 299.5 kB / 494.3 MB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008763/0.1522, allocations: 8.234 MB / 0.4907 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.1536, allocations: 139.9 kB / 0.4909 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.1537, allocations: 60 kB / 0.4909 GB, free: 4.039 MB / 398.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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.0004825/0.1542, allocations: 301.7 kB / 0.4912 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.1544, allocations: 139.1 kB / 0.4913 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.1587, allocations: 2.111 MB / 0.4934 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.1587, allocations: 12 kB / 0.4934 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1587, allocations: 7.938 kB / 0.4934 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.1587, allocations: 3.984 kB / 0.4934 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00777/0.1665, allocations: 4.083 MB / 0.4974 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.1665, allocations: 4 kB / 0.4974 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.1675, allocations: 203.7 kB / 0.4976 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.169, allocations: 0.5157 MB / 0.4981 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-05/0.1691, allocations: 35.98 kB / 0.4982 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009265/0.1783, allocations: 8.064 MB / 0.506 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1783, allocations: 4 kB / 0.506 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/0.1842, allocations: 3.152 MB / 0.5091 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007008/0.1849, allocations: 275 kB / 0.5094 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.1851, allocations: 31.94 kB / 0.5094 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009615/0.186, allocations: 107.9 kB / 0.5095 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.1863, allocations: 112.7 kB / 0.5096 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.909e-05/0.1864, allocations: 43.92 kB / 0.5097 GB, free: 232 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.1912/0.3776, allocations: 0.6727 MB / 0.5103 GB, free: 102.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3776, allocations: 0.6562 kB / 0.5103 GB, free: 102.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00311/0.3807, allocations: 0.778 MB / 0.5111 GB, free: 102.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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.000409/0.3811, allocations: 188.8 kB / 0.5113 GB, free: 102.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009001/0.3901, allocations: 6.398 MB / 0.5175 GB, free: 99.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.3902, allocations: 1 kB / 0.5175 GB, free: 99.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003656/0.3938, allocations: 2.688 MB / 0.5201 GB, free: 97.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.3955, allocations: 323.1 kB / 0.5204 GB, free: 97.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.4011, allocations: 4.339 MB / 0.5247 GB, free: 95.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009914/0.4021, allocations: 1.263 MB / 0.5259 GB, free: 95.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009474/0.403, allocations: 405.2 kB / 0.5263 GB, free: 94.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.4033, allocations: 92.48 kB / 0.5264 GB, free: 94.77 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4033, allocations: 0 / 0.5264 GB, free: 94.77 MB / 414.1 MB Notification: Performance of Templates: time 0.03936/0.4427, allocations: 30.35 MB / 0.556 GB, free: 65.98 MB / 414.1 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=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8757639937102795] Failed to read output from testmodel.py, exit status != 0: 0.4500756822526455 0.46834024900000004 0.431372731 Calling exit ...