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 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_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04696/0.04696, allocations: 8.034 MB / 23.15 MB, free: 0.5273 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.001064/0.001064, allocations: 104.8 kB / 25.72 MB, free: 3.586 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.001259/0.001258, allocations: 202.5 kB / 28.41 MB, free: 0.9102 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.294/1.294, allocations: 222.9 MB / 253.8 MB, free: 5.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01252/0.01252, allocations: 3.125 MB / 308.8 MB, free: 2.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 83.86 kB / 372.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1909, allocations: 51.97 MB / 424.9 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.007846/0.1988, allocations: 8.975 MB / 433.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004186/0.203, allocations: 2.529 MB / 436.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.2041, allocations: 43.81 kB / 436.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.2053, allocations: 385.7 kB / 436.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.2072, allocations: 0.5788 MB / 437.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.2082, allocations: 449.7 kB / 437.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.2102, allocations: 2.741 MB / 440.6 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.2118, allocations: 1.744 MB / 442.3 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.213, allocations: 0.9418 MB / 443.3 MB, free: 3.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.2141, allocations: 1.268 MB / 444.5 MB, free: 1.945 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.2143, allocations: 180 kB / 444.7 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.2149, allocations: 283.8 kB / 445 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004993/0.2154, allocations: 0.6659 MB / 445.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000941/0.2163, allocations: 1.155 MB / 446.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.2192, allocations: 3.571 MB / 450.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2192, allocations: 3.984 kB / 450.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2192, allocations: 0 / 450.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.137e-05/0.2193, allocations: 0 / 450.4 MB, free: 12.08 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.005298/0.2246, allocations: 2.685 MB / 453.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2246, allocations: 8.031 kB / 453.1 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006571/0.2253, allocations: 266.1 kB / 453.3 MB, free: 9.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.2272, allocations: 1.286 MB / 454.6 MB, free: 7.719 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.0002296/0.2275, allocations: 219.4 kB / 454.8 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/0.2278, allocations: 207.9 kB / 455.1 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004365/0.2321, allocations: 2.698 MB / 457.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.987e-05/0.2322, allocations: 4 kB / 457.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.2324, allocations: 87.98 kB / 457.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.2326, allocations: 99.97 kB / 457.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00376/0.2363, allocations: 2.206 MB / 460.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.2479, allocations: 7.949 MB / 468.1 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.2505, allocations: 1.588 MB / 469.7 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.2521, allocations: 0.9494 MB / 470.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/0.2524, allocations: 122 kB / 470.7 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/0.2538, allocations: 0.7695 MB / 471.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 3.036e-06/0.2538, allocations: 0 / 471.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01511/0.2689, allocations: 6.6 MB / 478.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.2691, allocations: 248.3 kB / 478.4 MB, free: 15.36 MB / 350.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.002175/0.2713, allocations: 1.196 MB / 479.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.2714, allocations: 45.7 kB / 479.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007827/0.2722, allocations: 0.9231 MB / 480.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/0.2726, allocations: 406.3 kB / 480.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004376/0.273, allocations: 250.7 kB / 481.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2732, allocations: 357.9 kB / 481.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.2744, allocations: 0.7015 MB / 482.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.2759, allocations: 1.093 MB / 483.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008809/0.2847, allocations: 3.55 MB / 486.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.2847, allocations: 0 / 486.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004258/0.289, allocations: 2.525 MB / 489.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.2891, allocations: 36.36 kB / 489.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.2891, allocations: 16.06 kB / 489.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.2903, allocations: 0.5045 MB / 489.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.2914, allocations: 295.5 kB / 490.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007331/0.2987, allocations: 8.083 MB / 498.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3, allocations: 127.8 kB / 498.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.3001, allocations: 55.98 kB / 498.5 MB, free: 10.26 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002057/0.3022, allocations: 1.22 MB / 499.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001354/0.3036, allocations: 1.074 MB / 0.489 GB, free: 7.805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008568/0.3122, allocations: 3.48 MB / 0.4924 GB, free: 4.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-05/0.3122, allocations: 7.938 kB / 0.4925 GB, free: 4.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004424/0.3166, allocations: 2.465 MB / 0.4949 GB, free: 1.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.3167, allocations: 37.69 kB / 0.4949 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.3167, allocations: 12 kB / 0.4949 GB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.318, allocations: 0.5114 MB / 0.4954 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009777/0.319, allocations: 279.6 kB / 0.4957 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007351/0.3263, allocations: 8.072 MB / 0.5036 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.3276, allocations: 131.9 kB / 0.5037 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.3277, allocations: 59.98 kB / 0.5037 GB, free: 7.988 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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (147): * Single equations (assignments): 140 * 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.0004179/0.3282, allocations: 299.4 kB / 0.504 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/0.3284, allocations: 134.4 kB / 0.5042 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/0.3327, allocations: 2.188 MB / 0.5063 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.3327, allocations: 12 kB / 0.5063 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/0.3327, allocations: 7.938 kB / 0.5063 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.3328, allocations: 15.97 kB / 0.5063 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.3434, allocations: 4.596 MB / 0.5108 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.3434, allocations: 8 kB / 0.5108 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.3446, allocations: 187.7 kB / 0.511 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1819/0.5265, allocations: 0.516 MB / 0.5115 GB, free: 85.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003253/0.5268, allocations: 41 kB / 0.5115 GB, free: 85.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00712/0.534, allocations: 7.893 MB / 0.5193 GB, free: 79.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.534, allocations: 8.188 kB / 0.5193 GB, free: 79.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004889/0.5389, allocations: 3.217 MB / 0.5224 GB, free: 78.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/0.5394, allocations: 360.3 kB / 0.5227 GB, free: 78.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.5396, allocations: 37.94 kB / 0.5228 GB, free: 78.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009067/0.5406, allocations: 104.5 kB / 0.5229 GB, free: 78.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.5408, allocations: 102.2 kB / 0.523 GB, free: 78.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/0.5409, allocations: 46.34 kB / 0.523 GB, free: 78.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000923/0.5418, allocations: 0.7963 MB / 0.5238 GB, free: 77.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5418, allocations: 3.406 kB / 0.5238 GB, free: 77.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002561/0.5444, allocations: 0.7389 MB / 0.5245 GB, free: 77.88 MB / 382.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 (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.0003902/0.5448, allocations: 191.9 kB / 0.5247 GB, free: 77.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008423/0.5532, allocations: 6.665 MB / 0.5312 GB, free: 73.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.5533, allocations: 3.844 kB / 0.5312 GB, free: 73.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003299/0.5566, allocations: 2.837 MB / 0.534 GB, free: 71.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.5581, allocations: 352.7 kB / 0.5343 GB, free: 71.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005141/0.5633, allocations: 5.096 MB / 0.5393 GB, free: 67.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009073/0.5642, allocations: 1.737 MB / 0.541 GB, free: 66.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.5653, allocations: 413.5 kB / 0.5414 GB, free: 65.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.5656, allocations: 95.42 kB / 0.5415 GB, free: 65.68 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5656, allocations: 4 kB / 0.5415 GB, free: 65.68 MB / 382.1 MB Notification: Performance of Templates: time 0.03496/0.6005, allocations: 30.05 MB / 0.5708 GB, free: 35.94 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile (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)