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.05328/0.05328, allocations: 8.031 MB / 23.26 MB, free: 496 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.001089, allocations: 107.7 kB / 25.83 MB, free: 3.5 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.001346/0.001347, allocations: 191.1 kB / 28.51 MB, free: 0.8281 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.356/1.356, allocations: 222.9 MB / 253.9 MB, free: 3.238 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01274/0.01274, allocations: 3.12 MB / 309 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001804, allocations: 91.86 kB / 373.1 MB, free: 2.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2076, allocations: 51.97 MB / 425.1 MB, free: 21.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.007044/0.2147, allocations: 8.977 MB / 434.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003559/0.2182, allocations: 2.521 MB / 436.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006731/0.2189, allocations: 43.81 kB / 436.6 MB, free: 10 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009621/0.2199, allocations: 381.7 kB / 437 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.2211, allocations: 0.5671 MB / 437.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.2219, allocations: 447.5 kB / 438 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.2234, allocations: 2.452 MB / 440.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.225, allocations: 2.049 MB / 442.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009086/0.2259, allocations: 1.094 MB / 443.6 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.227, allocations: 1.339 MB / 444.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.2273, allocations: 296 kB / 445.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/0.2278, allocations: 387.8 kB / 445.6 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.2282, allocations: 0.787 MB / 446.4 MB, free: 152 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.2295, allocations: 1.28 MB / 447.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003259/0.2328, allocations: 3.68 MB / 451.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2328, allocations: 0 / 451.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2328, allocations: 0 / 451.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.991e-05/0.2329, allocations: 4 kB / 451.4 MB, free: 11.17 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.005347/0.2383, allocations: 2.689 MB / 454.1 MB, free: 8.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2383, allocations: 8.031 kB / 454.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006798/0.239, allocations: 262.1 kB / 454.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.2409, allocations: 1.282 MB / 455.6 MB, free: 6.812 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.0002488/0.2412, allocations: 231.4 kB / 455.8 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.2415, allocations: 199.9 kB / 456 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004411/0.2459, allocations: 2.694 MB / 458.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.453e-05/0.246, allocations: 4 kB / 458.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.2462, allocations: 95.92 kB / 458.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-05/0.2463, allocations: 99.97 kB / 458.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/0.2501, allocations: 2.202 MB / 461.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.2621, allocations: 7.965 MB / 469.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.2648, allocations: 1.581 MB / 470.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.2665, allocations: 0.9361 MB / 471.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.2668, allocations: 126 kB / 471.7 MB, free: 6.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.2681, allocations: 0.7695 MB / 472.5 MB, free: 5.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.896e-06/0.2681, allocations: 3.938 kB / 472.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01433/0.2824, allocations: 6.604 MB / 479.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.2826, allocations: 252.3 kB / 479.3 MB, free: 14.43 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.001638/0.2842, allocations: 1.192 MB / 480.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.2844, allocations: 53.7 kB / 480.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007005/0.2851, allocations: 0.9115 MB / 481.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/0.2854, allocations: 414.1 kB / 481.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004178/0.2858, allocations: 250.8 kB / 482.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.286, allocations: 357.9 kB / 482.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.2872, allocations: 0.7093 MB / 483.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.2887, allocations: 1.089 MB / 484.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008872/0.2976, allocations: 3.566 MB / 487.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.2976, allocations: 4 kB / 487.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00433/0.3019, allocations: 2.508 MB / 490.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.302, allocations: 44.2 kB / 490.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.302, allocations: 11.98 kB / 490.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.3032, allocations: 0.5006 MB / 490.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.3043, allocations: 291.5 kB / 491.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007738/0.312, allocations: 8.807 MB / 0.4883 GB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.3134, allocations: 131.9 kB / 0.4884 GB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.3135, allocations: 59.98 kB / 0.4885 GB, free: 8.57 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.001975/0.3155, allocations: 1.227 MB / 0.4897 GB, free: 7.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001337/0.3169, allocations: 1.066 MB / 0.4907 GB, free: 6.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008422/0.3253, allocations: 3.5 MB / 0.4941 GB, free: 2.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.079e-05/0.3253, allocations: 4 kB / 0.4941 GB, free: 2.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004119/0.3295, allocations: 2.472 MB / 0.4966 GB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.3295, allocations: 41.62 kB / 0.4966 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3295, allocations: 12 kB / 0.4966 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.3307, allocations: 0.4963 MB / 0.4971 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.3318, allocations: 287.5 kB / 0.4974 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008384/0.3401, allocations: 8.794 MB / 0.506 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.3418, allocations: 139.9 kB / 0.5061 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.3419, allocations: 52 kB / 0.5061 GB, free: 5.539 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.0004807/0.3424, allocations: 292 kB / 0.5064 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.3427, allocations: 138.3 kB / 0.5066 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.3467, allocations: 2.191 MB / 0.5087 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.3467, allocations: 12 kB / 0.5087 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3467, allocations: 4 kB / 0.5087 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.3467, allocations: 11.92 kB / 0.5087 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1816/0.5283, allocations: 4.583 MB / 0.5132 GB, free: 84.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.5284, allocations: 4.953 kB / 0.5132 GB, free: 84.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/0.5293, allocations: 194.8 kB / 0.5134 GB, free: 84.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.5306, allocations: 0.5275 MB / 0.5139 GB, free: 84.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.5307, allocations: 37.2 kB / 0.5139 GB, free: 84.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006279/0.537, allocations: 8.609 MB / 0.5223 GB, free: 78.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.5371, allocations: 11.84 kB / 0.5224 GB, free: 78.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004821/0.5419, allocations: 3.211 MB / 0.5255 GB, free: 77.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/0.5425, allocations: 355.6 kB / 0.5258 GB, free: 76.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.5427, allocations: 38.03 kB / 0.5259 GB, free: 76.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/0.5437, allocations: 101 kB / 0.526 GB, free: 76.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.5439, allocations: 118.9 kB / 0.5261 GB, free: 76.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/0.544, allocations: 38.31 kB / 0.5261 GB, free: 76.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009035/0.5449, allocations: 0.8006 MB / 0.5269 GB, free: 76.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5449, allocations: 0 / 0.5269 GB, free: 76.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002049/0.547, allocations: 0.741 MB / 0.5276 GB, free: 76.38 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.0002882/0.5473, allocations: 192.4 kB / 0.5278 GB, free: 76.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008928/0.5562, allocations: 7.083 MB / 0.5347 GB, free: 71.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.5563, allocations: 0 / 0.5347 GB, free: 71.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003405/0.5597, allocations: 2.836 MB / 0.5375 GB, free: 69.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.5615, allocations: 380.4 kB / 0.5378 GB, free: 68.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/0.5672, allocations: 5.092 MB / 0.5428 GB, free: 64.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000917/0.5682, allocations: 1.742 MB / 0.5445 GB, free: 62.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001198/0.5694, allocations: 415.6 kB / 0.5449 GB, free: 62.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.5696, allocations: 99.36 kB / 0.545 GB, free: 61.98 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5696, allocations: 0 / 0.545 GB, free: 61.98 MB / 382.1 MB Notification: Performance of Templates: time 0.03689/0.6065, allocations: 31.27 MB / 0.5756 GB, free: 31.04 MB / 382.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)