Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 2/2, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.749e-05, allocations: 4 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08969/0.08974, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4579/0.5476, allocations: 111.1 MB / 453.6 MB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.548, allocations: 90 kB / 453.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2838/0.8318, allocations: 80.74 MB / 0.5219 GB, free: 2.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.182e-06/0.8319, allocations: 0 / 0.5219 GB, free: 2.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002334/0.8321, allocations: 80.06 kB / 0.522 GB, free: 2.082 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.2597/1.092, allocations: 3.199 MB / 0.5251 GB, free: 92.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.092, allocations: 8.781 kB / 0.5251 GB, free: 92.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006108/1.098, allocations: 0.7348 MB / 0.5259 GB, free: 91.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/1.109, allocations: 3.322 MB / 0.5291 GB, free: 91.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/1.11, allocations: 244.5 kB / 0.5293 GB, free: 91.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008366/1.111, allocations: 327.4 kB / 0.5296 GB, free: 91.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01776/1.128, allocations: 4.088 MB / 0.5336 GB, free: 91.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002126/1.129, allocations: 3.094 kB / 0.5336 GB, free: 91.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/1.13, allocations: 137.3 kB / 0.5338 GB, free: 91.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003792/1.13, allocations: 145 kB / 0.5339 GB, free: 91.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02983/1.16, allocations: 3.268 MB / 0.5371 GB, free: 91.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06509/1.225, allocations: 13.91 MB / 0.5507 GB, free: 88.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006117/1.231, allocations: 6.48 MB / 0.557 GB, free: 83.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002691/1.234, allocations: 1.349 MB / 0.5583 GB, free: 83.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006908/1.241, allocations: 3.616 MB / 0.5619 GB, free: 82.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/1.241, allocations: 45.94 kB / 0.5619 GB, free: 82.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 4.723e-06/1.241, allocations: 0 / 0.5619 GB, free: 82.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.007925/1.249, allocations: 4.139 MB / 0.5659 GB, free: 80.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/1.249, allocations: 65.47 kB / 0.566 GB, free: 80.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/1.252, allocations: 1.539 MB / 0.5675 GB, free: 79.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/1.252, allocations: 47.11 kB / 0.5676 GB, free: 79.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000837/1.253, allocations: 1.446 MB / 0.569 GB, free: 78.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/1.253, allocations: 469.5 kB / 0.5694 GB, free: 77.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/1.253, allocations: 38.03 kB / 0.5695 GB, free: 77.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/1.253, allocations: 371.2 kB / 0.5698 GB, free: 77.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/1.254, allocations: 0.6381 MB / 0.5704 GB, free: 77.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/1.256, allocations: 1.131 MB / 0.5715 GB, free: 76.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/1.257, allocations: 0.869 MB / 0.5724 GB, free: 76.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/1.257, allocations: 3.094 kB / 0.5724 GB, free: 76.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004629/1.262, allocations: 2.406 MB / 0.5747 GB, free: 75.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/1.262, allocations: 11.44 kB / 0.5747 GB, free: 75.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/1.262, allocations: 15 kB / 0.5748 GB, free: 75.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/1.263, allocations: 363.9 kB / 0.5751 GB, free: 75.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/1.265, allocations: 364.8 kB / 0.5755 GB, free: 75.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007342/1.272, allocations: 7.653 MB / 0.5829 GB, free: 68.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/1.274, allocations: 77.31 kB / 0.583 GB, free: 68.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/1.275, allocations: 75.11 kB / 0.5831 GB, free: 68.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 183 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003514/1.275, allocations: 209.9 kB / 0.5833 GB, free: 68.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/1.275, allocations: 196.7 kB / 0.5835 GB, free: 68.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/1.28, allocations: 2.219 MB / 0.5856 GB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/1.28, allocations: 16.45 kB / 0.5856 GB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.28, allocations: 10.81 kB / 0.5857 GB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/1.28, allocations: 6.938 kB / 0.5857 GB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009315/1.289, allocations: 4.969 MB / 0.5905 GB, free: 64.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/1.289, allocations: 3.906 kB / 0.5905 GB, free: 64.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/1.29, allocations: 162 kB / 0.5907 GB, free: 64.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001819/1.292, allocations: 0.5352 MB / 0.5912 GB, free: 64.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/1.292, allocations: 35.88 kB / 0.5912 GB, free: 64.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/1.304, allocations: 12.03 MB / 0.603 GB, free: 54.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.175e-06/1.304, allocations: 2.062 kB / 0.603 GB, free: 54.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00616/1.311, allocations: 3.21 MB / 0.6061 GB, free: 52.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.312, allocations: 424.8 kB / 0.6065 GB, free: 52.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003685/1.312, allocations: 30.53 kB / 0.6066 GB, free: 52.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.313, allocations: 74.45 kB / 0.6066 GB, free: 52.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/1.314, allocations: 105.8 kB / 0.6067 GB, free: 52.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/1.314, allocations: 41.91 kB / 0.6068 GB, free: 52.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002223/1.316, allocations: 1.171 MB / 0.6079 GB, free: 52 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-07/1.316, allocations: 0 / 0.6079 GB, free: 52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003008/1.319, allocations: 0.6162 MB / 0.6085 GB, free: 51.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006815/1.32, allocations: 428.1 kB / 0.6089 GB, free: 51.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004073/1.324, allocations: 2.205 MB / 0.6111 GB, free: 50.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.046e-06/1.324, allocations: 6.188 kB / 0.6111 GB, free: 50.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002958/1.327, allocations: 1.631 MB / 0.6127 GB, free: 49.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/1.33, allocations: 0.4999 MB / 0.6132 GB, free: 49.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009515/1.339, allocations: 4.715 MB / 0.6178 GB, free: 47.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002348/1.342, allocations: 2.363 MB / 0.6201 GB, free: 46.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001909/1.344, allocations: 395.1 kB / 0.6204 GB, free: 46.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/1.344, allocations: 117.5 kB / 0.6206 GB, free: 46.11 MB / 442.7 MB Notification: Performance of SimCode: time 1.635e-06/1.344, allocations: 0 / 0.6206 GB, free: 46.11 MB / 442.7 MB Notification: Performance of Templates: time 0.07264/1.417, allocations: 30.4 MB / 0.6503 GB, free: 30.23 MB / 442.7 MB