Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.82/1.82, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.748e-05, allocations: 11.91 kB / 258.8 MB, free: 8.027 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2905, allocations: 44.5 MB / 303.4 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03201/0.3225, allocations: 20.01 MB / 323.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.3399, allocations: 6.559 MB / 329.9 MB, free: 2.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004229/0.3442, allocations: 179.5 kB / 330.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005839/0.3501, allocations: 1.391 MB / 331.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.3605, allocations: 2.348 MB / 333.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00532/0.3658, allocations: 1.152 MB / 335 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02049/0.3863, allocations: 8.553 MB / 343.5 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04214/0.4285, allocations: 16.6 MB / 360.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007128/0.4357, allocations: 3.212 MB / 363.3 MB, free: 1.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008132/0.4439, allocations: 3.629 MB / 367 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004089/0.448, allocations: 0.609 MB / 367.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001727/0.4498, allocations: 324 kB / 367.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.4523, allocations: 1.677 MB / 369.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00328/0.4556, allocations: 0.7188 MB / 370.3 MB, free: 10.44 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02823/0.4838, allocations: 19.55 MB / 389.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4839, allocations: 0 / 389.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4839, allocations: 0 / 389.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000504/0.4844, allocations: 0 / 389.8 MB, free: 6.836 MB / 330.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.04617/0.5306, allocations: 10.98 MB / 400.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.5307, allocations: 12.03 kB / 400.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06234/0.593, allocations: 7.139 MB / 408 MB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/0.6124, allocations: 6.408 MB / 414.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009533/0.6134, allocations: 0.7305 MB / 415.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004333/0.6177, allocations: 0.9569 MB / 416.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5492/1.167, allocations: 16.45 MB / 432.5 MB, free: 81.82 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004395/1.167, allocations: 12 kB / 432.5 MB, free: 81.82 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003394/1.171, allocations: 404.8 kB / 432.9 MB, free: 81.52 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008372/1.172, allocations: 0.5963 MB / 433.5 MB, free: 81.45 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04458/1.216, allocations: 15.72 MB / 449.2 MB, free: 74.71 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1385/1.355, allocations: 53.97 MB / 0.4914 GB, free: 25.4 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03587/1.391, allocations: 22.67 MB / 0.5135 GB, free: 0.4961 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04325/1.434, allocations: 11.83 MB / 0.5251 GB, free: 4.59 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/1.434, allocations: 77.39 kB / 0.5252 GB, free: 4.504 MB / 378.8 MB Notification: Performance of pre-optimization done (n=365): time 1.057e-05/1.434, allocations: 0 / 0.5252 GB, free: 4.504 MB / 378.8 MB Notification: Performance of matching and sorting (n=370): time 0.08419/1.519, allocations: 18.58 MB / 0.5433 GB, free: 1.707 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/1.519, allocations: 90.28 kB / 0.5434 GB, free: 1.605 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009616/1.528, allocations: 4.217 MB / 0.5475 GB, free: 13.37 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007373/1.529, allocations: 85.7 kB / 0.5476 GB, free: 13.28 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004529/1.534, allocations: 4.464 MB / 0.552 GB, free: 8.785 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002034/1.536, allocations: 1.278 MB / 0.5532 GB, free: 7.52 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006776/1.536, allocations: 120 kB / 0.5533 GB, free: 7.402 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0005158/1.537, allocations: 0.5462 MB / 0.5539 GB, free: 6.848 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008207/1.545, allocations: 2.92 MB / 0.5567 GB, free: 3.922 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/1.556, allocations: 5.25 MB / 0.5618 GB, free: 13.57 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.567, allocations: 4.132 MB / 0.5659 GB, free: 9.426 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-05/1.567, allocations: 31.92 kB / 0.5659 GB, free: 9.395 MB / 426.8 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.3056/1.873, allocations: 9.656 MB / 0.5753 GB, free: 129.8 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/1.873, allocations: 65.36 kB / 0.5754 GB, free: 129.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001901/1.873, allocations: 80.81 kB / 0.5755 GB, free: 129.8 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007061/1.88, allocations: 1.417 MB / 0.5769 GB, free: 129.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009412/1.89, allocations: 1.332 MB / 0.5782 GB, free: 129.8 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02545/1.915, allocations: 11.95 MB / 0.5898 GB, free: 124 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006874/1.922, allocations: 366.5 kB / 0.5902 GB, free: 123.9 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/1.924, allocations: 303.9 kB / 0.5905 GB, free: 123.9 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008736/1.932, allocations: 3.895 MB / 0.5943 GB, free: 122.1 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/1.934, allocations: 449.1 kB / 0.5947 GB, free: 122.1 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01978/1.954, allocations: 6.85 MB / 0.6014 GB, free: 119.4 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01476/1.968, allocations: 5.638 MB / 0.6069 GB, free: 117.2 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/1.968, allocations: 15.12 kB / 0.6069 GB, free: 117.2 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.827e-05/1.969, allocations: 18.84 kB / 0.6069 GB, free: 117.2 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03708/2.006, allocations: 15.48 MB / 0.622 GB, free: 109.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/2.006, allocations: 4 kB / 0.622 GB, free: 109.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005528/2.011, allocations: 0.6709 MB / 0.6227 GB, free: 109.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005434/2.017, allocations: 1.257 MB / 0.6239 GB, free: 107.9 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000438/2.017, allocations: 87.97 kB / 0.624 GB, free: 107.8 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02946/2.047, allocations: 10.86 MB / 0.6346 GB, free: 96.86 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/2.047, allocations: 4 kB / 0.6346 GB, free: 96.85 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03061/2.077, allocations: 10.53 MB / 0.6449 GB, free: 86.23 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003189/2.081, allocations: 1.042 MB / 0.6459 GB, free: 85.16 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001695/2.082, allocations: 68 kB / 0.646 GB, free: 85.09 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004681/2.087, allocations: 223.8 kB / 0.6462 GB, free: 84.88 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/2.088, allocations: 275.1 kB / 0.6465 GB, free: 84.6 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003963/2.088, allocations: 112 kB / 0.6466 GB, free: 84.49 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.006368/2.095, allocations: 3.162 MB / 0.6497 GB, free: 81.32 MB / 426.8 MB Notification: Performance of sort global known variables: time 5.11e-07/2.095, allocations: 0 / 0.6497 GB, free: 81.32 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.008417/2.103, allocations: 1.689 MB / 0.6513 GB, free: 79.64 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001624/2.105, allocations: 390.9 kB / 0.6517 GB, free: 79.3 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01934/2.124, allocations: 7.62 MB / 0.6591 GB, free: 71.64 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/2.124, allocations: 4 kB / 0.6591 GB, free: 71.64 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01001/2.134, allocations: 3.616 MB / 0.6627 GB, free: 68 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007048/2.141, allocations: 0.9189 MB / 0.6636 GB, free: 67.08 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04383/2.185, allocations: 21.11 MB / 0.6842 GB, free: 45.87 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01179/2.197, allocations: 6.726 MB / 0.6907 GB, free: 39.1 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.009848/2.207, allocations: 2.098 MB / 0.6928 GB, free: 37 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002143/2.209, allocations: 351.4 kB / 0.6931 GB, free: 36.65 MB / 426.8 MB Notification: Performance of SimCode: time 1.212e-06/2.209, allocations: 0 / 0.6931 GB, free: 36.65 MB / 426.8 MB Notification: Performance of Templates: time 0.5343/2.744, allocations: 65.79 MB / 0.7574 GB, free: 127.7 MB / 442.8 MB