Running command: translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") Notification: Performance of loadModel(HanserModelica): time 2.038/2.038, allocations: 214.7 MB / 226.9 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.202e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.08804, allocations: 49.71 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.5003, allocations: 108.8 MB / 438 MB, free: 7.461 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5005, allocations: 70.84 kB / 438.1 MB, free: 7.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3008/0.8013, allocations: 82.22 MB / 0.5081 GB, free: 11.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.586e-06/0.8014, allocations: 0 / 0.5081 GB, free: 11.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003205/0.8017, allocations: 87.81 kB / 0.5082 GB, free: 11.26 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.01219/0.8139, allocations: 3.274 MB / 0.5114 GB, free: 7.926 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.814, allocations: 12.03 kB / 0.5114 GB, free: 7.914 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005847/0.8198, allocations: 0.7489 MB / 0.5121 GB, free: 7.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.832, allocations: 3.534 MB / 0.5156 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/0.8325, allocations: 250.7 kB / 0.5158 GB, free: 3.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001368/0.8339, allocations: 335.9 kB / 0.5161 GB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2587/1.093, allocations: 4.288 MB / 0.5203 GB, free: 94.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/1.093, allocations: 3.562 kB / 0.5203 GB, free: 94.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005603/1.093, allocations: 145.9 kB / 0.5205 GB, free: 94.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002112/1.094, allocations: 149.9 kB / 0.5206 GB, free: 94.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/1.104, allocations: 3.4 MB / 0.5239 GB, free: 94.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03277/1.136, allocations: 14.24 MB / 0.5378 GB, free: 91.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006576/1.143, allocations: 6.032 MB / 0.5437 GB, free: 87.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00273/1.146, allocations: 1.169 MB / 0.5449 GB, free: 87.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007348/1.153, allocations: 3.295 MB / 0.5481 GB, free: 86.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/1.153, allocations: 50.75 kB / 0.5481 GB, free: 86.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=113): time 5.247e-06/1.153, allocations: 0 / 0.5481 GB, free: 86.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=116): time 0.00819/1.162, allocations: 3.714 MB / 0.5518 GB, free: 85.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/1.162, allocations: 66.34 kB / 0.5518 GB, free: 85.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/1.165, allocations: 1.444 MB / 0.5532 GB, free: 85.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/1.165, allocations: 51.98 kB / 0.5533 GB, free: 85.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.166, allocations: 1.493 MB / 0.5547 GB, free: 84.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/1.166, allocations: 407.5 kB / 0.5551 GB, free: 84.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.166, allocations: 32.84 kB / 0.5552 GB, free: 84.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/1.167, allocations: 369.2 kB / 0.5555 GB, free: 84.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/1.168, allocations: 0.5772 MB / 0.5561 GB, free: 84.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/1.169, allocations: 1.069 MB / 0.5571 GB, free: 83.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/1.171, allocations: 0.7975 MB / 0.5579 GB, free: 83.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/1.171, allocations: 3.844 kB / 0.5579 GB, free: 83.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.004494/1.176, allocations: 2.054 MB / 0.5599 GB, free: 82.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/1.176, allocations: 15.41 kB / 0.5599 GB, free: 82.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/1.176, allocations: 15.5 kB / 0.5599 GB, free: 82.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004463/1.176, allocations: 140 kB / 0.5601 GB, free: 82.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.178, allocations: 395.3 kB / 0.5605 GB, free: 82.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/1.181, allocations: 3.078 MB / 0.5635 GB, free: 79.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/1.183, allocations: 75.72 kB / 0.5635 GB, free: 79.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/1.184, allocations: 77.75 kB / 0.5636 GB, free: 79.78 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000376/1.184, allocations: 205 kB / 0.5638 GB, free: 79.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/1.184, allocations: 177.9 kB / 0.564 GB, free: 79.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/1.189, allocations: 1.955 MB / 0.5659 GB, free: 78.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.189, allocations: 17.42 kB / 0.5659 GB, free: 78.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.189, allocations: 7.891 kB / 0.5659 GB, free: 78.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.189, allocations: 3.797 kB / 0.5659 GB, free: 78.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/1.199, allocations: 4.66 MB / 0.5705 GB, free: 76.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.199, allocations: 0 / 0.5705 GB, free: 76.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.2, allocations: 167.6 kB / 0.5706 GB, free: 76.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001761/1.202, allocations: 449.5 kB / 0.5711 GB, free: 76.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/1.202, allocations: 38.38 kB / 0.5711 GB, free: 76.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/1.214, allocations: 10.04 MB / 0.5809 GB, free: 67.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.954e-06/1.214, allocations: 3.625 kB / 0.5809 GB, free: 67.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005642/1.22, allocations: 2.823 MB / 0.5837 GB, free: 66.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.221, allocations: 390.8 kB / 0.584 GB, free: 65.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005666/1.222, allocations: 29.25 kB / 0.5841 GB, free: 65.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.223, allocations: 69.7 kB / 0.5841 GB, free: 65.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003751/1.223, allocations: 105.8 kB / 0.5842 GB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/1.224, allocations: 29.72 kB / 0.5842 GB, free: 65.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002505/1.226, allocations: 1.106 MB / 0.5853 GB, free: 65.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.294e-06/1.226, allocations: 3.906 kB / 0.5853 GB, free: 65.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003414/1.23, allocations: 0.5697 MB / 0.5859 GB, free: 65.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008123/1.23, allocations: 414.3 kB / 0.5863 GB, free: 65.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003563/1.234, allocations: 1.698 MB / 0.5879 GB, free: 64.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.94e-06/1.234, allocations: 0 / 0.5879 GB, free: 64.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002944/1.237, allocations: 1.4 MB / 0.5893 GB, free: 63.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/1.24, allocations: 499.4 kB / 0.5898 GB, free: 63.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/1.252, allocations: 4.589 MB / 0.5943 GB, free: 61.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00323/1.255, allocations: 2.419 MB / 0.5966 GB, free: 60.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002128/1.257, allocations: 384.2 kB / 0.597 GB, free: 60.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/1.258, allocations: 118.7 kB / 0.5971 GB, free: 60.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.784e-06/1.258, allocations: 4 kB / 0.5971 GB, free: 60.26 MB / 442.7 MB Notification: Performance of Templates: time 0.07307/1.331, allocations: 28.33 MB / 0.6248 GB, free: 54.38 MB / 442.7 MB