Running command: translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") Notification: Performance of loadModel(HanserModelica): time 1.993/1.993, allocations: 214.7 MB / 226.9 MB, free: 1.293 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.757e-05, allocations: 7.984 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.08731, allocations: 49.7 MB / 329.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4855/0.5728, allocations: 131.1 MB / 460.3 MB, free: 1.363 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.5731, allocations: 74.47 kB / 460.4 MB, free: 1.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.558/2.131, allocations: 354.4 MB / 0.7957 GB, free: 57.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.241e-06/2.131, allocations: 0 / 0.7957 GB, free: 57.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006588/2.132, allocations: 222.6 kB / 0.7959 GB, free: 57.18 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03788/2.17, allocations: 9.541 MB / 0.8052 GB, free: 53.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/2.17, allocations: 10.53 kB / 0.8052 GB, free: 53.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03889/2.209, allocations: 4.925 MB / 0.8101 GB, free: 52.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02283/2.232, allocations: 8.198 MB / 0.8181 GB, free: 47.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009835/2.233, allocations: 0.708 MB / 0.8188 GB, free: 47.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00399/2.237, allocations: 0.9178 MB / 0.8196 GB, free: 46.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04382/2.281, allocations: 16.81 MB / 0.8361 GB, free: 29.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003562/2.281, allocations: 19.8 kB / 0.8361 GB, free: 29.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003338/2.284, allocations: 405.3 kB / 0.8365 GB, free: 29.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008437/2.285, allocations: 0.7031 MB / 0.8372 GB, free: 28.51 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03861/2.324, allocations: 15.42 MB / 0.8522 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4185/2.743, allocations: 55.28 MB / 0.9062 GB, free: 44.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02665/2.769, allocations: 19.12 MB / 0.9249 GB, free: 35.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01512/2.784, allocations: 7.534 MB / 0.9322 GB, free: 35.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05596/2.84, allocations: 24.88 MB / 0.9565 GB, free: 25.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.281e-05/2.841, allocations: 96.69 kB / 0.9566 GB, free: 25.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=749): time 1.257e-05/2.841, allocations: 0.7656 kB / 0.9566 GB, free: 25.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=754): time 0.06172/2.902, allocations: 25.12 MB / 0.9812 GB, free: 14.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/2.902, allocations: 119.1 kB / 0.9813 GB, free: 14.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007048/2.91, allocations: 3.181 MB / 0.9844 GB, free: 13.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001474/2.911, allocations: 125.2 kB / 0.9845 GB, free: 12.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002559/2.914, allocations: 3.614 MB / 0.988 GB, free: 10.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003511/2.917, allocations: 2.472 MB / 0.9904 GB, free: 8.438 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/2.919, allocations: 131 kB / 0.9906 GB, free: 8.336 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007659/2.919, allocations: 0.6042 MB / 0.9912 GB, free: 7.906 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01053/2.93, allocations: 5.013 MB / 0.9961 GB, free: 5.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01196/2.942, allocations: 6.225 MB / 1.002 GB, free: 1.086 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03609/2.978, allocations: 7.291 MB / 1.009 GB, free: 15.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.699e-05/2.978, allocations: 8 kB / 1.009 GB, free: 15.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=941) (initialization): time 0.03963/3.018, allocations: 14.36 MB / 1.023 GB, free: 2.543 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/3.018, allocations: 19.95 kB / 1.023 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.004e-05/3.018, allocations: 32 kB / 1.023 GB, free: 2.492 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/3.031, allocations: 4.068 MB / 1.027 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00748/3.039, allocations: 1.181 MB / 1.028 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/3.06, allocations: 12.53 MB / 1.041 GB, free: 2.699 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006373/3.067, allocations: 357 kB / 1.041 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002042/3.069, allocations: 286.3 kB / 1.041 GB, free: 2.184 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (636): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.00232/3.071, allocations: 449.3 kB / 1.042 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001811/3.073, allocations: 493.6 kB / 1.042 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4173/3.49, allocations: 15.28 MB / 1.057 GB, free: 87.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03099/3.521, allocations: 12.67 MB / 1.07 GB, free: 87.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/3.521, allocations: 6.188 kB / 1.07 GB, free: 87.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001244/3.521, allocations: 33.47 kB / 1.07 GB, free: 87.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06517/3.587, allocations: 28.02 MB / 1.097 GB, free: 86.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001016/3.587, allocations: 3.953 kB / 1.097 GB, free: 86.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005831/3.593, allocations: 0.8857 MB / 1.098 GB, free: 86.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01116/3.604, allocations: 3.933 MB / 1.102 GB, free: 86.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001676/3.606, allocations: 160.5 kB / 1.102 GB, free: 86.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01667/3.622, allocations: 12.42 MB / 1.114 GB, free: 78.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.707e-06/3.622, allocations: 2.438 kB / 1.114 GB, free: 78.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04645/3.669, allocations: 21.44 MB / 1.135 GB, free: 69.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00548/3.674, allocations: 1.728 MB / 1.137 GB, free: 68.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002574/3.677, allocations: 113.6 kB / 1.137 GB, free: 68.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005265/3.682, allocations: 295.3 kB / 1.137 GB, free: 68.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002366/3.685, allocations: 0.5502 MB / 1.137 GB, free: 68.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001682/3.686, allocations: 203.3 kB / 1.138 GB, free: 68.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00567/3.692, allocations: 2.418 MB / 1.14 GB, free: 67.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.326e-06/3.692, allocations: 0 / 1.14 GB, free: 67.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01015/3.702, allocations: 1.82 MB / 1.142 GB, free: 66.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (480): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.003461/3.706, allocations: 0.8346 MB / 1.143 GB, free: 66.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02752/3.733, allocations: 12.17 MB / 1.154 GB, free: 59.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/3.733, allocations: 4 kB / 1.155 GB, free: 59.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0151/3.749, allocations: 6.366 MB / 1.161 GB, free: 53.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006717/3.755, allocations: 0.918 MB / 1.162 GB, free: 52.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04897/3.804, allocations: 19.51 MB / 1.181 GB, free: 35.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01451/3.819, allocations: 6.825 MB / 1.187 GB, free: 30.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00847/3.827, allocations: 1.664 MB / 1.189 GB, free: 29.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002542/3.83, allocations: 352 kB / 1.189 GB, free: 28.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.833e-06/3.83, allocations: 0 / 1.189 GB, free: 28.95 MB / 490.7 MB Notification: Performance of Templates: time 0.5532/4.383, allocations: 112.2 MB / 1.299 GB, free: 70.51 MB / 490.7 MB