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 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06214/0.06214, allocations: 8.026 MB / 23.01 MB, free: 0.6133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007814/0.0007814, allocations: 94.64 kB / 25.56 MB, free: 3.688 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009073/0.0009074, allocations: 195 kB / 28.24 MB, free: 1.023 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 254 MB, free: 3.969 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0115/0.0115, allocations: 3.113 MB / 310 MB, free: 0.6523 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004945, allocations: 11.25 kB / 374.8 MB, free: 54.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1146, allocations: 52.98 MB / 427.8 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.006619/0.1213, allocations: 7.955 MB / 435.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006803/0.1281, allocations: 2.413 MB / 438.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.1299, allocations: 43.81 kB / 438.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.1316, allocations: 353.7 kB / 438.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.1341, allocations: 0.5398 MB / 439.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.1355, allocations: 339.5 kB / 439.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003678/0.1392, allocations: 2.485 MB / 441.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.1417, allocations: 1.312 MB / 443.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.1441, allocations: 0.8016 MB / 444 MB, free: 4.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.1461, allocations: 1.07 MB / 445.1 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008293/0.147, allocations: 124 kB / 445.2 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.1483, allocations: 183.9 kB / 445.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007953/0.1491, allocations: 0.5723 MB / 445.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.1499, allocations: 448.5 kB / 446.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003104/0.153, allocations: 2.957 MB / 449.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.153, allocations: 0 / 449.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.153, allocations: 0 / 449.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.07e-05/0.1531, allocations: 0 / 449.3 MB, free: 14.77 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.005257/0.1583, allocations: 2.334 MB / 451.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.1584, allocations: 8.031 kB / 451.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007443/0.1591, allocations: 257.2 kB / 451.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.1613, allocations: 1.247 MB / 453.2 MB, free: 10.81 MB / 318.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.000252/0.1615, allocations: 235.3 kB / 453.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002891/0.1618, allocations: 211.9 kB / 453.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004586/0.1664, allocations: 2.694 MB / 456.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-05/0.1665, allocations: 8 kB / 456.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.1667, allocations: 84 kB / 456.4 MB, free: 7.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.795e-05/0.1668, allocations: 95.97 kB / 456.5 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/0.1707, allocations: 2.241 MB / 458.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.1835, allocations: 8.02 MB / 466.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.1863, allocations: 1.628 MB / 468.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.1881, allocations: 0.9674 MB / 469.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003502/0.1885, allocations: 134 kB / 469.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.1899, allocations: 0.7812 MB / 470.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 4.117e-06/0.19, allocations: 3.938 kB / 470.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01535/0.2053, allocations: 6.759 MB / 477 MB, free: 2.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.2055, allocations: 248.3 kB / 477.3 MB, free: 2.086 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/0.2087, allocations: 1.184 MB / 478.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002518/0.209, allocations: 49.69 kB / 478.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.2105, allocations: 0.9156 MB / 479.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009371/0.2115, allocations: 402.2 kB / 479.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2117, allocations: 28 kB / 479.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.2119, allocations: 361.9 kB / 480.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/0.2139, allocations: 0.7099 MB / 480.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/0.2166, allocations: 1.109 MB / 482 MB, free: 13.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002532/0.2191, allocations: 0.8942 MB / 482.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.2192, allocations: 4 kB / 482.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007523/0.2267, allocations: 2.55 MB / 485.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008878/0.2276, allocations: 424.2 kB / 485.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.219e-05/0.2277, allocations: 12 kB / 485.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/0.2295, allocations: 0.4921 MB / 486.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.2311, allocations: 311.5 kB / 486.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.243, allocations: 8.083 MB / 494.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.2453, allocations: 151.9 kB / 494.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003942/0.2457, allocations: 52 kB / 495 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2458, allocations: 7.938 kB / 495 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006089/0.2519, allocations: 2.347 MB / 497.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/0.2519, allocations: 12.31 kB / 497.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.2531, allocations: 0.5088 MB / 497.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.2541, allocations: 291.6 kB / 498.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008943/0.2631, allocations: 8.072 MB / 0.4943 GB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.265, allocations: 131.9 kB / 0.4945 GB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/0.2654, allocations: 59.98 kB / 0.4945 GB, free: 3.434 MB / 366.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: 45 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,$PRE.tqReq.T_start,tqReq.T_start,$PRE.tqReq.count,tqReq.count,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002205/0.2676, allocations: 0.7196 MB / 0.4952 GB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000708/0.2683, allocations: 138.3 kB / 0.4953 GB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004818/0.2731, allocations: 2.219 MB / 0.4975 GB, free: 316 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.2732, allocations: 15.95 kB / 0.4975 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/0.2732, allocations: 4 kB / 0.4975 GB, free: 296 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.2732, allocations: 11.92 kB / 0.4975 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2469/0.5201, allocations: 4.615 MB / 0.5021 GB, free: 68.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.5202, allocations: 4.062 kB / 0.5021 GB, free: 68.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/0.521, allocations: 208.1 kB / 0.5023 GB, free: 68.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.5223, allocations: 0.5174 MB / 0.5028 GB, free: 68.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.5224, allocations: 37.58 kB / 0.5028 GB, free: 68.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005955/0.5284, allocations: 7.899 MB / 0.5105 GB, free: 62.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5284, allocations: 9.344 kB / 0.5105 GB, free: 62.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005099/0.5335, allocations: 3.273 MB / 0.5137 GB, free: 60.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007683/0.5343, allocations: 361.5 kB / 0.5141 GB, free: 60.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.5345, allocations: 32.72 kB / 0.5141 GB, free: 60.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009129/0.5354, allocations: 121.4 kB / 0.5142 GB, free: 60.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/0.5357, allocations: 114.2 kB / 0.5143 GB, free: 60.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.119e-05/0.5358, allocations: 48.38 kB / 0.5144 GB, free: 60.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001034/0.5369, allocations: 0.7868 MB / 0.5151 GB, free: 60.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5369, allocations: 3.609 kB / 0.5151 GB, free: 60.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002312/0.5392, allocations: 0.7472 MB / 0.5159 GB, free: 60.08 MB / 366.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 (98): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002631/0.5395, allocations: 153.2 kB / 0.516 GB, free: 59.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008444/0.5479, allocations: 6.72 MB / 0.5226 GB, free: 55.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.5479, allocations: 7.938 kB / 0.5226 GB, free: 55.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003582/0.5515, allocations: 2.85 MB / 0.5254 GB, free: 52.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.5534, allocations: 367.7 kB / 0.5257 GB, free: 51.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/0.5605, allocations: 5.001 MB / 0.5306 GB, free: 46.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/0.562, allocations: 1.742 MB / 0.5323 GB, free: 45.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001477/0.5635, allocations: 407.6 kB / 0.5327 GB, free: 44.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.5638, allocations: 95.42 kB / 0.5328 GB, free: 44.6 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5638, allocations: 0 / 0.5328 GB, free: 44.6 MB / 366.1 MB Notification: Performance of Templates: time 0.03908/0.6028, allocations: 28.8 MB / 0.5609 GB, free: 16.12 MB / 366.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile (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=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)