Running command: translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") Notification: Performance of loadModel(HanserModelica): time 1.954/1.954, allocations: 214.7 MB / 226.8 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.783e-05, allocations: 4 kB / 279.5 MB, free: 13.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1249, allocations: 49.71 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4303/0.5552, allocations: 130.6 MB / 459.8 MB, free: 2.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.5554, allocations: 77.22 kB / 459.9 MB, free: 2.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.609/2.164, allocations: 379.8 MB / 0.8199 GB, free: 46.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/2.164, allocations: 0 / 0.8199 GB, free: 46.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000657/2.165, allocations: 243.7 kB / 0.8202 GB, free: 46.03 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04145/2.207, allocations: 10.27 MB / 0.8302 GB, free: 35.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/2.207, allocations: 13.16 kB / 0.8302 GB, free: 35.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04583/2.252, allocations: 6.283 MB / 0.8363 GB, free: 29.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/2.276, allocations: 8.766 MB / 0.8449 GB, free: 20.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/2.277, allocations: 0.7925 MB / 0.8457 GB, free: 19.97 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004421/2.281, allocations: 1.036 MB / 0.8467 GB, free: 18.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6562/2.937, allocations: 18.9 MB / 0.8651 GB, free: 43 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005022/2.938, allocations: 15.16 kB / 0.8652 GB, free: 43 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004261/2.942, allocations: 453.6 kB / 0.8656 GB, free: 43 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001465/2.944, allocations: 0.8191 MB / 0.8664 GB, free: 42.98 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04728/2.991, allocations: 17.7 MB / 0.8837 GB, free: 42.93 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1314/3.122, allocations: 61.3 MB / 0.9435 GB, free: 28.38 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03116/3.154, allocations: 24.9 MB / 0.9679 GB, free: 11.08 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01742/3.171, allocations: 8.326 MB / 0.976 GB, free: 7.48 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06696/3.238, allocations: 26.61 MB / 1.002 GB, free: 11.24 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/3.238, allocations: 110.1 kB / 1.002 GB, free: 11.15 MB / 474.8 MB Notification: Performance of pre-optimization done (n=832): time 1.401e-05/3.238, allocations: 0 / 1.002 GB, free: 11.15 MB / 474.8 MB Notification: Performance of matching and sorting (n=838): time 0.07888/3.317, allocations: 27.94 MB / 1.029 GB, free: 3.039 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/3.317, allocations: 124.2 kB / 1.029 GB, free: 2.906 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006382/3.324, allocations: 2.698 MB / 1.032 GB, free: 0.5 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001661/3.325, allocations: 137.7 kB / 1.032 GB, free: 368 kB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006613/3.332, allocations: 3.974 MB / 1.036 GB, free: 13.33 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.006973/3.339, allocations: 2.748 MB / 1.039 GB, free: 10.84 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002355/3.342, allocations: 142.6 kB / 1.039 GB, free: 10.71 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001616/3.343, allocations: 0.6469 MB / 1.04 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01413/3.357, allocations: 5.488 MB / 1.045 GB, free: 5.266 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3276/3.685, allocations: 6.928 MB / 1.052 GB, free: 85.54 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02038/3.706, allocations: 6.656 MB / 1.058 GB, free: 85.44 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/3.706, allocations: 11.59 kB / 1.058 GB, free: 85.44 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.06753/3.773, allocations: 15.98 MB / 1.074 GB, free: 85.18 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/3.773, allocations: 19.66 kB / 1.074 GB, free: 85.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001745/3.774, allocations: 39.25 kB / 1.074 GB, free: 85.18 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02392/3.798, allocations: 4.764 MB / 1.079 GB, free: 85.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01399/3.812, allocations: 1.336 MB / 1.08 GB, free: 85.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03168/3.843, allocations: 12.3 MB / 1.092 GB, free: 81.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/3.855, allocations: 432.3 kB / 1.092 GB, free: 81.93 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003215/3.858, allocations: 315.8 kB / 1.093 GB, free: 81.93 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (704): * Single equations (assignments): 638 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.005214/3.863, allocations: 487 kB / 1.093 GB, free: 81.83 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003316/3.867, allocations: 0.4982 MB / 1.094 GB, free: 81.82 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04057/3.907, allocations: 15.91 MB / 1.109 GB, free: 81.47 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03322/3.94, allocations: 14.12 MB / 1.123 GB, free: 78.46 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.508e-05/3.941, allocations: 1.969 kB / 1.123 GB, free: 78.46 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000159/3.941, allocations: 33.42 kB / 1.123 GB, free: 78.46 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0719/4.013, allocations: 30.63 MB / 1.153 GB, free: 65.22 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.412e-05/4.013, allocations: 3.375 kB / 1.153 GB, free: 65.22 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006513/4.019, allocations: 1.014 MB / 1.154 GB, free: 65.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01287/4.032, allocations: 4.638 MB / 1.158 GB, free: 63.81 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001853/4.034, allocations: 175 kB / 1.158 GB, free: 63.71 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/4.052, allocations: 12.11 MB / 1.17 GB, free: 56.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.854e-06/4.052, allocations: 0 / 1.17 GB, free: 56.62 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05039/4.102, allocations: 23.53 MB / 1.193 GB, free: 35.84 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00904/4.111, allocations: 1.803 MB / 1.195 GB, free: 34.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003825/4.115, allocations: 120 kB / 1.195 GB, free: 34.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008098/4.123, allocations: 368.8 kB / 1.196 GB, free: 33.84 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003066/4.126, allocations: 0.599 MB / 1.196 GB, free: 33.45 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001949/4.128, allocations: 217.8 kB / 1.196 GB, free: 33.26 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004535/4.133, allocations: 2.034 MB / 1.198 GB, free: 31.45 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.513e-06/4.133, allocations: 0 / 1.198 GB, free: 31.45 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02003/4.153, allocations: 1.994 MB / 1.2 GB, free: 29.48 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of Backend phase and start with SimCode phase: time 0.004335/4.157, allocations: 0.6471 MB / 1.201 GB, free: 29.01 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.06021/4.218, allocations: 13.31 MB / 1.214 GB, free: 17.17 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.401e-06/4.218, allocations: 0 / 1.214 GB, free: 17.17 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.02387/4.242, allocations: 6.931 MB / 1.221 GB, free: 11.05 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009641/4.251, allocations: 0.976 MB / 1.222 GB, free: 10.28 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4253/4.677, allocations: 21.16 MB / 1.242 GB, free: 87.91 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0168/4.693, allocations: 7.379 MB / 1.249 GB, free: 86.96 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009763/4.703, allocations: 1.846 MB / 1.251 GB, free: 86.9 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002451/4.706, allocations: 373.3 kB / 1.252 GB, free: 86.9 MB / 0.4949 GB Notification: Performance of SimCode: time 1.727e-06/4.706, allocations: 4 kB / 1.252 GB, free: 86.89 MB / 0.4949 GB Notification: Performance of Templates: time 0.2661/4.972, allocations: 122.3 MB / 1.371 GB, free: 36.59 MB / 0.4949 GB