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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3.006e-05, allocations: 8 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08807/0.08812, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3967/0.4848, allocations: 110.2 MB / 452.7 MB, free: 412 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4851, allocations: 88.5 kB / 452.8 MB, free: 364 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2091/0.6942, allocations: 52.39 MB / 0.4934 GB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.08e-06/0.6942, allocations: 0 / 0.4934 GB, free: 15.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001909/0.6944, allocations: 59.94 kB / 0.4934 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.005738/0.7002, allocations: 2.428 MB / 0.4958 GB, free: 13.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.7003, allocations: 16.03 kB / 0.4958 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.7015, allocations: 328.3 kB / 0.4961 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00479/0.7064, allocations: 1.76 MB / 0.4979 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.7066, allocations: 152 kB / 0.498 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004967/0.7071, allocations: 211.9 kB / 0.4982 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005854/0.7129, allocations: 2.569 MB / 0.5007 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-05/0.713, allocations: 11.89 kB / 0.5007 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/0.7134, allocations: 87.94 kB / 0.5008 GB, free: 7.918 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.7135, allocations: 87.94 kB / 0.5009 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005069/0.7186, allocations: 2.019 MB / 0.5029 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01914/0.7378, allocations: 8.337 MB / 0.511 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003639/0.7414, allocations: 1.578 MB / 0.5125 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/0.7437, allocations: 0.965 MB / 0.5135 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003979/0.7441, allocations: 142 kB / 0.5136 GB, free: 10.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.7442, allocations: 47.56 kB / 0.5137 GB, free: 10.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=119): time 4.618e-06/0.7442, allocations: 0 / 0.5137 GB, free: 10.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.01332/0.7575, allocations: 5.018 MB / 0.5186 GB, free: 5.375 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.7576, allocations: 68.72 kB / 0.5186 GB, free: 5.293 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/0.7618, allocations: 1.866 MB / 0.5205 GB, free: 3.379 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.762, allocations: 45.7 kB / 0.5205 GB, free: 3.328 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.7633, allocations: 1.096 MB / 0.5216 GB, free: 2.219 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006169/0.7639, allocations: 469.2 kB / 0.522 GB, free: 1.754 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.764, allocations: 28 kB / 0.522 GB, free: 1.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.7643, allocations: 365.9 kB / 0.5224 GB, free: 1.363 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.7659, allocations: 0.7145 MB / 0.5231 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.24/1.006, allocations: 0.9454 MB / 0.524 GB, free: 113.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/1.008, allocations: 0.8465 MB / 0.5248 GB, free: 113.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.008, allocations: 2.969 kB / 0.5248 GB, free: 113.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.006919/1.015, allocations: 2.693 MB / 0.5275 GB, free: 113.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/1.015, allocations: 9.047 kB / 0.5275 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/1.015, allocations: 7.438 kB / 0.5275 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/1.018, allocations: 0.8429 MB / 0.5283 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.02, allocations: 274.5 kB / 0.5286 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/1.036, allocations: 9.281 MB / 0.5376 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/1.037, allocations: 100.5 kB / 0.5377 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/1.038, allocations: 53.53 kB / 0.5378 GB, free: 110.8 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.0003282/1.038, allocations: 183 kB / 0.538 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/1.038, allocations: 201.9 kB / 0.5381 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005681/1.044, allocations: 2.473 MB / 0.5406 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/1.044, allocations: 13.12 kB / 0.5406 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/1.044, allocations: 10.83 kB / 0.5406 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.044, allocations: 8.656 kB / 0.5406 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/1.055, allocations: 4.988 MB / 0.5455 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/1.055, allocations: 2.938 kB / 0.5455 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/1.056, allocations: 219.8 kB / 0.5457 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/1.059, allocations: 0.7074 MB / 0.5464 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/1.059, allocations: 39.72 kB / 0.5464 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.07, allocations: 8.444 MB / 0.5547 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.066e-06/1.07, allocations: 7.641 kB / 0.5547 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006602/1.077, allocations: 3.589 MB / 0.5582 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.078, allocations: 476.3 kB / 0.5586 GB, free: 102.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/1.078, allocations: 34.33 kB / 0.5587 GB, free: 102.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.08, allocations: 96.38 kB / 0.5587 GB, free: 102.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/1.08, allocations: 110.2 kB / 0.5588 GB, free: 102.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.08, allocations: 50.7 kB / 0.5589 GB, free: 102.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002516/1.083, allocations: 1.445 MB / 0.5603 GB, free: 101.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.721e-06/1.083, allocations: 0 / 0.5603 GB, free: 101.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002345/1.085, allocations: 0.5962 MB / 0.5609 GB, free: 101.8 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.001632/1.087, allocations: 0.6087 MB / 0.5615 GB, free: 101.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004263/1.091, allocations: 2.324 MB / 0.5638 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.482e-06/1.091, allocations: 0 / 0.5638 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002799/1.094, allocations: 1.647 MB / 0.5654 GB, free: 99.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/1.096, allocations: 421.6 kB / 0.5658 GB, free: 99.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007995/1.104, allocations: 4.267 MB / 0.5699 GB, free: 97.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/1.106, allocations: 2.001 MB / 0.5719 GB, free: 97.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001748/1.108, allocations: 400.5 kB / 0.5723 GB, free: 97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/1.108, allocations: 130.7 kB / 0.5724 GB, free: 97 MB / 442.7 MB Notification: Performance of SimCode: time 1.979e-06/1.108, allocations: 2.938 kB / 0.5724 GB, free: 97 MB / 442.7 MB Notification: Performance of Templates: time 0.07139/1.18, allocations: 31.41 MB / 0.6031 GB, free: 84.38 MB / 442.7 MB