Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.56e-05, allocations: 4 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.08915, allocations: 50.42 MB / 343.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4018/0.491, allocations: 110.2 MB / 453.3 MB, free: 380 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4913, allocations: 87.83 kB / 453.4 MB, free: 336 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2101/0.7015, allocations: 52.38 MB / 0.4939 GB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.94e-06/0.7015, allocations: 0 / 0.4939 GB, free: 15.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002057/0.7017, allocations: 59.94 kB / 0.4939 GB, free: 15.71 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005844/0.7076, allocations: 2.432 MB / 0.4963 GB, free: 13.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.7076, allocations: 12.03 kB / 0.4963 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.7089, allocations: 332.3 kB / 0.4966 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004911/0.7139, allocations: 1.767 MB / 0.4984 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.7141, allocations: 148 kB / 0.4985 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000537/0.7146, allocations: 207.9 kB / 0.4987 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006116/0.7208, allocations: 2.573 MB / 0.5012 GB, free: 8.012 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-05/0.7209, allocations: 7.906 kB / 0.5012 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000314/0.7212, allocations: 87.98 kB / 0.5013 GB, free: 7.918 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.7213, allocations: 87.94 kB / 0.5014 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005161/0.7265, allocations: 2.019 MB / 0.5034 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01922/0.7458, allocations: 8.326 MB / 0.5115 GB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/0.7495, allocations: 1.578 MB / 0.513 GB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/0.7516, allocations: 0.9728 MB / 0.514 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/0.752, allocations: 146 kB / 0.5141 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.7521, allocations: 43.56 kB / 0.5142 GB, free: 10.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=119): time 5.235e-06/0.7521, allocations: 4 kB / 0.5142 GB, free: 10.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.01345/0.7656, allocations: 5.014 MB / 0.5191 GB, free: 5.375 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.7657, allocations: 72.7 kB / 0.5191 GB, free: 5.289 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00413/0.7698, allocations: 1.862 MB / 0.521 GB, free: 3.379 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002793/0.7701, allocations: 53.64 kB / 0.521 GB, free: 3.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.7714, allocations: 1.096 MB / 0.5221 GB, free: 2.211 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006253/0.772, allocations: 465.2 kB / 0.5225 GB, free: 1.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.7722, allocations: 32 kB / 0.5226 GB, free: 1.719 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.7724, allocations: 361.9 kB / 0.5229 GB, free: 1.359 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.774, allocations: 0.7068 MB / 0.5236 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2409/1.015, allocations: 0.9457 MB / 0.5245 GB, free: 113.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/1.017, allocations: 0.8487 MB / 0.5253 GB, free: 113.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.57e-06/1.017, allocations: 2.719 kB / 0.5253 GB, free: 113.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.006512/1.024, allocations: 2.695 MB / 0.528 GB, free: 113.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/1.024, allocations: 8.25 kB / 0.528 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/1.024, allocations: 7.625 kB / 0.528 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00297/1.027, allocations: 0.8397 MB / 0.5288 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.028, allocations: 278.1 kB / 0.5291 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.044, allocations: 9.282 MB / 0.5381 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/1.045, allocations: 95.72 kB / 0.5382 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/1.046, allocations: 56.8 kB / 0.5383 GB, free: 110.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003465/1.046, allocations: 183.1 kB / 0.5385 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/1.046, allocations: 201.2 kB / 0.5387 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005599/1.052, allocations: 2.47 MB / 0.5411 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/1.052, allocations: 14.92 kB / 0.5411 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/1.052, allocations: 6.781 kB / 0.5411 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/1.052, allocations: 8.203 kB / 0.5411 GB, free: 110.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/1.063, allocations: 4.989 MB / 0.546 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/1.063, allocations: 6.344 kB / 0.546 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.064, allocations: 222.6 kB / 0.5462 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/1.067, allocations: 0.7025 MB / 0.5469 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/1.067, allocations: 32.58 kB / 0.5469 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.078, allocations: 8.46 MB / 0.5552 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.078, allocations: 0 / 0.5552 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006625/1.084, allocations: 3.59 MB / 0.5587 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.085, allocations: 481.5 kB / 0.5591 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000358/1.086, allocations: 29.91 kB / 0.5592 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.087, allocations: 96.78 kB / 0.5593 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/1.087, allocations: 109.9 kB / 0.5594 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/1.087, allocations: 45.52 kB / 0.5594 GB, free: 102.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002485/1.09, allocations: 1.45 MB / 0.5608 GB, free: 101.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.17e-07/1.09, allocations: 3.281 kB / 0.5608 GB, free: 101.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002307/1.092, allocations: 0.5962 MB / 0.5614 GB, free: 101.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001626/1.094, allocations: 0.6115 MB / 0.562 GB, free: 101.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004231/1.098, allocations: 2.33 MB / 0.5643 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.118e-06/1.098, allocations: 3.312 kB / 0.5643 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002936/1.101, allocations: 1.637 MB / 0.5659 GB, free: 99.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/1.103, allocations: 410.5 kB / 0.5663 GB, free: 99.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007634/1.111, allocations: 4.274 MB / 0.5704 GB, free: 97.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/1.113, allocations: 2.003 MB / 0.5724 GB, free: 96.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001704/1.115, allocations: 398.2 kB / 0.5728 GB, free: 96.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005071/1.115, allocations: 131.4 kB / 0.5729 GB, free: 96.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.991e-06/1.115, allocations: 0 / 0.5729 GB, free: 96.9 MB / 442.7 MB Notification: Performance of Templates: time 0.07159/1.187, allocations: 31.41 MB / 0.6036 GB, free: 84.39 MB / 442.7 MB