Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.685e-05, allocations: 0 / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.08865, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4613, allocations: 109.6 MB / 426.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.4616, allocations: 86.27 kB / 426.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2879/0.7496, allocations: 80.5 MB / 0.4952 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.156e-06/0.7496, allocations: 0 / 0.4952 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002639/0.7499, allocations: 83.92 kB / 0.4953 GB, free: 0.6133 MB / 410.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.01077/0.7607, allocations: 3.207 MB / 0.4984 GB, free: 13.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7608, allocations: 12.03 kB / 0.4984 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0056/0.7664, allocations: 0.7256 MB / 0.4991 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.7773, allocations: 3.312 MB / 0.5024 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.7777, allocations: 242.4 kB / 0.5026 GB, free: 8.992 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.7788, allocations: 319.9 kB / 0.5029 GB, free: 8.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.79, allocations: 4.102 MB / 0.5069 GB, free: 4.457 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.7902, allocations: 4 kB / 0.5069 GB, free: 4.453 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005413/0.7907, allocations: 136 kB / 0.507 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/0.7909, allocations: 146.4 kB / 0.5072 GB, free: 4.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009146/0.8001, allocations: 3.301 MB / 0.5104 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.264/1.064, allocations: 13.89 MB / 0.524 GB, free: 88.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007011/1.071, allocations: 6.582 MB / 0.5304 GB, free: 83.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002922/1.074, allocations: 1.368 MB / 0.5317 GB, free: 83.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007886/1.082, allocations: 3.795 MB / 0.5354 GB, free: 82.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/1.082, allocations: 52.55 kB / 0.5355 GB, free: 82.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=144): time 5.437e-06/1.082, allocations: 0 / 0.5355 GB, free: 82.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=147): time 0.009729/1.092, allocations: 4.334 MB / 0.5397 GB, free: 81.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/1.092, allocations: 72.09 kB / 0.5398 GB, free: 81.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002846/1.095, allocations: 1.512 MB / 0.5413 GB, free: 81.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002269/1.095, allocations: 53.58 kB / 0.5413 GB, free: 81.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009268/1.096, allocations: 1.416 MB / 0.5427 GB, free: 81.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004573/1.097, allocations: 0.5061 MB / 0.5432 GB, free: 80.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/1.097, allocations: 35.06 kB / 0.5432 GB, free: 80.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/1.097, allocations: 373.4 kB / 0.5436 GB, free: 80.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/1.098, allocations: 0.6696 MB / 0.5442 GB, free: 80.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/1.1, allocations: 1.126 MB / 0.5453 GB, free: 79.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/1.101, allocations: 0.886 MB / 0.5462 GB, free: 79.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.101, allocations: 3.656 kB / 0.5462 GB, free: 79.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005062/1.106, allocations: 2.474 MB / 0.5486 GB, free: 79.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.107, allocations: 17.94 kB / 0.5486 GB, free: 79.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/1.107, allocations: 17.44 kB / 0.5487 GB, free: 79.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/1.108, allocations: 381.1 kB / 0.549 GB, free: 79.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/1.11, allocations: 386.1 kB / 0.5494 GB, free: 79.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008008/1.118, allocations: 7.852 MB / 0.5571 GB, free: 73.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.119, allocations: 76.53 kB / 0.5571 GB, free: 73.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/1.12, allocations: 69.75 kB / 0.5572 GB, free: 73.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (192): * Single equations (assignments): 187 * 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,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003925/1.12, allocations: 215.8 kB / 0.5574 GB, free: 73.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/1.12, allocations: 193.8 kB / 0.5576 GB, free: 73.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005153/1.126, allocations: 2.348 MB / 0.5599 GB, free: 72.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/1.126, allocations: 13.03 kB / 0.5599 GB, free: 72.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/1.126, allocations: 10.25 kB / 0.5599 GB, free: 72.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/1.126, allocations: 11.08 kB / 0.5599 GB, free: 72.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/1.136, allocations: 5.166 MB / 0.565 GB, free: 69.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.136, allocations: 6 kB / 0.565 GB, free: 69.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.138, allocations: 196.2 kB / 0.5652 GB, free: 69.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/1.139, allocations: 0.5621 MB / 0.5657 GB, free: 69.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.14, allocations: 42.92 kB / 0.5657 GB, free: 69.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/1.152, allocations: 12.21 MB / 0.5777 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.72e-06/1.152, allocations: 3.562 kB / 0.5777 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006385/1.159, allocations: 3.385 MB / 0.581 GB, free: 57.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.16, allocations: 433.9 kB / 0.5814 GB, free: 57.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003982/1.16, allocations: 35.16 kB / 0.5814 GB, free: 57.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/1.162, allocations: 73.86 kB / 0.5815 GB, free: 57.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/1.162, allocations: 119.4 kB / 0.5816 GB, free: 57.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/1.162, allocations: 40.81 kB / 0.5817 GB, free: 57.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00219/1.165, allocations: 1.165 MB / 0.5828 GB, free: 56.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.165, allocations: 0 / 0.5828 GB, free: 56.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00308/1.168, allocations: 0.6236 MB / 0.5834 GB, free: 56.6 MB / 426.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 (94): * Single equations (assignments): 88 * 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%) 1,(1,100.0%) 7,(1,100.0%) 13,(3,100.0%) 9,(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.000679/1.168, allocations: 423.1 kB / 0.5838 GB, free: 56.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003924/1.172, allocations: 2.294 MB / 0.586 GB, free: 55.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.916e-06/1.172, allocations: 3.938 kB / 0.586 GB, free: 55.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003053/1.175, allocations: 1.709 MB / 0.5877 GB, free: 54.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/1.178, allocations: 0.5047 MB / 0.5882 GB, free: 54.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.189, allocations: 4.803 MB / 0.5929 GB, free: 51.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/1.192, allocations: 2.366 MB / 0.5952 GB, free: 50.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002129/1.194, allocations: 403.1 kB / 0.5956 GB, free: 50.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/1.194, allocations: 122.1 kB / 0.5957 GB, free: 50.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.773e-06/1.194, allocations: 0 / 0.5957 GB, free: 50.71 MB / 426.7 MB Notification: Performance of Templates: time 0.0766/1.271, allocations: 31.2 MB / 0.6262 GB, free: 40.01 MB / 426.7 MB