Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadModel(Modelica): time 1.857/1.857, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.767e-05, allocations: 4 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09119, allocations: 50.41 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4097/0.5009, allocations: 123.6 MB / 466.7 MB, free: 3.316 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.5013, allocations: 92.88 kB / 466.8 MB, free: 3.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6433/1.145, allocations: 117.9 MB / 0.571 GB, free: 96.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.123e-06/1.145, allocations: 0 / 0.571 GB, free: 96.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003577/1.145, allocations: 135.5 kB / 0.5711 GB, free: 96.36 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01249/1.158, allocations: 4.943 MB / 0.5759 GB, free: 94.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/1.158, allocations: 7.125 kB / 0.5759 GB, free: 94.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00602/1.164, allocations: 0.996 MB / 0.5769 GB, free: 94.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/1.176, allocations: 4.595 MB / 0.5814 GB, free: 93.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002876/1.176, allocations: 386.2 kB / 0.5817 GB, free: 93.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/1.177, allocations: 0.5072 MB / 0.5822 GB, free: 92.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/1.191, allocations: 6.648 MB / 0.5887 GB, free: 89.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/1.191, allocations: 18.86 kB / 0.5888 GB, free: 89.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000705/1.192, allocations: 216.9 kB / 0.589 GB, free: 89.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002221/1.192, allocations: 227.3 kB / 0.5892 GB, free: 89.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/1.204, allocations: 5.367 MB / 0.5944 GB, free: 87.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03767/1.242, allocations: 21.42 MB / 0.6153 GB, free: 73.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008066/1.25, allocations: 8.645 MB / 0.6238 GB, free: 64.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/1.254, allocations: 2.207 MB / 0.6259 GB, free: 62.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01227/1.266, allocations: 6.179 MB / 0.632 GB, free: 56.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.266, allocations: 60.78 kB / 0.632 GB, free: 56.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=220): time 5.56e-06/1.266, allocations: 0 / 0.632 GB, free: 56.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=239): time 0.02032/1.287, allocations: 8.95 MB / 0.6408 GB, free: 47.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/1.287, allocations: 85.41 kB / 0.6408 GB, free: 47.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004667/1.291, allocations: 2.582 MB / 0.6434 GB, free: 44.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003843/1.292, allocations: 69.7 kB / 0.6434 GB, free: 44.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/1.293, allocations: 2.3 MB / 0.6457 GB, free: 42.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006674/1.294, allocations: 0.8155 MB / 0.6465 GB, free: 41.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/1.294, allocations: 52 kB / 0.6465 GB, free: 41.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/1.294, allocations: 423.9 kB / 0.6469 GB, free: 41.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/1.297, allocations: 1.294 MB / 0.6482 GB, free: 39.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/1.3, allocations: 2.025 MB / 0.6502 GB, free: 37.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/1.302, allocations: 1.65 MB / 0.6518 GB, free: 35.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/1.302, allocations: 4 kB / 0.6518 GB, free: 35.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008822/1.311, allocations: 4.464 MB / 0.6561 GB, free: 31.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/1.311, allocations: 16.03 kB / 0.6562 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/1.311, allocations: 24 kB / 0.6562 GB, free: 31.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/1.314, allocations: 0.7571 MB / 0.6569 GB, free: 30.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/1.317, allocations: 0.6318 MB / 0.6575 GB, free: 29.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.329, allocations: 13.35 MB / 0.6706 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/1.332, allocations: 155.8 kB / 0.6707 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/1.333, allocations: 120 kB / 0.6708 GB, free: 15.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005761/1.333, allocations: 276.2 kB / 0.6711 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005585/1.334, allocations: 320.1 kB / 0.6714 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008019/1.342, allocations: 4.123 MB / 0.6754 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/1.342, allocations: 31.92 kB / 0.6755 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/1.342, allocations: 8 kB / 0.6755 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.284e-05/1.342, allocations: 11.95 kB / 0.6755 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/1.359, allocations: 9.002 MB / 0.6843 GB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/1.359, allocations: 4 kB / 0.6843 GB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/1.361, allocations: 387.9 kB / 0.6846 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003029/1.365, allocations: 0.9198 MB / 0.6855 GB, free: 48 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2605/1.625, allocations: 71 kB / 0.6856 GB, free: 88.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/1.645, allocations: 16.49 MB / 0.7017 GB, free: 77.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.914e-06/1.645, allocations: 8.031 kB / 0.7017 GB, free: 77.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0127/1.658, allocations: 6.274 MB / 0.7079 GB, free: 76.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002164/1.66, allocations: 0.6946 MB / 0.7085 GB, free: 76.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006821/1.66, allocations: 57.34 kB / 0.7086 GB, free: 76.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/1.663, allocations: 144 kB / 0.7087 GB, free: 76.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006049/1.663, allocations: 201.3 kB / 0.7089 GB, free: 76.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/1.664, allocations: 69.73 kB / 0.709 GB, free: 76.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004261/1.668, allocations: 1.966 MB / 0.7109 GB, free: 76.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.03e-07/1.668, allocations: 2.062 kB / 0.7109 GB, free: 76.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004625/1.673, allocations: 1.021 MB / 0.7119 GB, free: 76.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008741/1.673, allocations: 0.5019 MB / 0.7124 GB, free: 76.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007011/1.681, allocations: 4.344 MB / 0.7166 GB, free: 75.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.774e-06/1.681, allocations: 0 / 0.7166 GB, free: 75.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004859/1.685, allocations: 2.918 MB / 0.7195 GB, free: 74.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004274/1.69, allocations: 0.8317 MB / 0.7203 GB, free: 74.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/1.706, allocations: 8.235 MB / 0.7283 GB, free: 72.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004169/1.71, allocations: 3.519 MB / 0.7318 GB, free: 70.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003631/1.714, allocations: 0.7621 MB / 0.7325 GB, free: 70.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009112/1.715, allocations: 211.3 kB / 0.7327 GB, free: 70.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.511e-06/1.715, allocations: 0 / 0.7327 GB, free: 70.8 MB / 442.7 MB Notification: Performance of Templates: time 0.1194/1.834, allocations: 50.81 MB / 0.7823 GB, free: 52.85 MB / 442.7 MB