Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.782/1.782, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.816e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07567/0.07572, allocations: 44.49 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4249, allocations: 104.6 MB / 404.5 MB, free: 16.26 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4252, allocations: 84.67 kB / 404.6 MB, free: 16.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2761/0.7013, allocations: 80.52 MB / 485.1 MB, free: 2.629 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.118e-06/0.7013, allocations: 0 / 485.1 MB, free: 2.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002826/0.7016, allocations: 79.88 kB / 485.2 MB, free: 2.551 MB / 362.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.01105/0.7127, allocations: 3.203 MB / 488.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.7128, allocations: 16.02 kB / 488.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005525/0.7183, allocations: 0.7295 MB / 489.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.7291, allocations: 3.312 MB / 492.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.7295, allocations: 234.5 kB / 492.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009555/0.7305, allocations: 331.8 kB / 493 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.7409, allocations: 4.102 MB / 497.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.7411, allocations: 7.938 kB / 497.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004941/0.7416, allocations: 132 kB / 497.3 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/0.7418, allocations: 146.4 kB / 497.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009404/0.7512, allocations: 3.297 MB / 0.489 GB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.049/0.8003, allocations: 13.9 MB / 0.5025 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2924/1.093, allocations: 6.572 MB / 0.5089 GB, free: 65.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002963/1.096, allocations: 1.358 MB / 0.5103 GB, free: 65.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0085/1.104, allocations: 3.808 MB / 0.514 GB, free: 64.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/1.104, allocations: 50.44 kB / 0.514 GB, free: 64.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 5.39e-06/1.104, allocations: 1.875 kB / 0.514 GB, free: 64.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=147): time 0.009695/1.114, allocations: 4.331 MB / 0.5183 GB, free: 63.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/1.114, allocations: 70 kB / 0.5183 GB, free: 63.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/1.117, allocations: 1.518 MB / 0.5198 GB, free: 63.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/1.117, allocations: 48.77 kB / 0.5199 GB, free: 63.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/1.119, allocations: 1.424 MB / 0.5213 GB, free: 63.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004596/1.119, allocations: 0.4995 MB / 0.5217 GB, free: 62.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/1.119, allocations: 36 kB / 0.5218 GB, free: 62.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/1.119, allocations: 373.7 kB / 0.5221 GB, free: 62.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/1.121, allocations: 0.67 MB / 0.5228 GB, free: 62.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/1.122, allocations: 1.126 MB / 0.5239 GB, free: 61.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/1.124, allocations: 0.8914 MB / 0.5248 GB, free: 61.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/1.124, allocations: 4.125 kB / 0.5248 GB, free: 61.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00517/1.129, allocations: 2.472 MB / 0.5272 GB, free: 61.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/1.13, allocations: 11.72 kB / 0.5272 GB, free: 61.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/1.13, allocations: 15.72 kB / 0.5272 GB, free: 61.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/1.131, allocations: 384.1 kB / 0.5276 GB, free: 61.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/1.132, allocations: 381.9 kB / 0.5279 GB, free: 61.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008172/1.141, allocations: 7.847 MB / 0.5356 GB, free: 56.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/1.143, allocations: 86.36 kB / 0.5357 GB, free: 56.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/1.143, allocations: 73.61 kB / 0.5358 GB, free: 56.35 MB / 394.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.0003924/1.143, allocations: 207.9 kB / 0.5359 GB, free: 56.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/1.144, allocations: 197.1 kB / 0.5361 GB, free: 56.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005362/1.149, allocations: 2.344 MB / 0.5384 GB, free: 55.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.149, allocations: 15.22 kB / 0.5384 GB, free: 55.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/1.149, allocations: 7.781 kB / 0.5384 GB, free: 55.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/1.149, allocations: 6.75 kB / 0.5385 GB, free: 55.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/1.16, allocations: 5.181 MB / 0.5435 GB, free: 55.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.16, allocations: 2.188 kB / 0.5435 GB, free: 55.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.161, allocations: 195.7 kB / 0.5437 GB, free: 55.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/1.163, allocations: 0.5453 MB / 0.5442 GB, free: 55.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/1.163, allocations: 39.53 kB / 0.5443 GB, free: 55.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/1.177, allocations: 12.23 MB / 0.5562 GB, free: 46.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.588e-06/1.177, allocations: 7.797 kB / 0.5562 GB, free: 46.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006478/1.183, allocations: 3.387 MB / 0.5595 GB, free: 45.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.184, allocations: 432.6 kB / 0.5599 GB, free: 44.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/1.185, allocations: 41.98 kB / 0.56 GB, free: 44.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.186, allocations: 73.23 kB / 0.5601 GB, free: 44.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003384/1.186, allocations: 124.6 kB / 0.5602 GB, free: 44.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.187, allocations: 36.38 kB / 0.5602 GB, free: 44.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002169/1.189, allocations: 1.159 MB / 0.5613 GB, free: 44.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.6e-07/1.189, allocations: 0 / 0.5613 GB, free: 44.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002999/1.192, allocations: 0.627 MB / 0.5619 GB, free: 44.16 MB / 394.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.0006587/1.192, allocations: 401.7 kB / 0.5623 GB, free: 44.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00401/1.196, allocations: 2.302 MB / 0.5646 GB, free: 42.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.544e-06/1.197, allocations: 0 / 0.5646 GB, free: 42.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002961/1.199, allocations: 1.71 MB / 0.5662 GB, free: 41.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/1.203, allocations: 0.5081 MB / 0.5667 GB, free: 41.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.22, allocations: 4.803 MB / 0.5714 GB, free: 39.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004033/1.224, allocations: 2.372 MB / 0.5738 GB, free: 38.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003365/1.228, allocations: 395.3 kB / 0.5741 GB, free: 38.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007278/1.229, allocations: 123.8 kB / 0.5742 GB, free: 38.36 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-06/1.229, allocations: 0 / 0.5742 GB, free: 38.36 MB / 394.7 MB Notification: Performance of Templates: time 0.09376/1.322, allocations: 31.14 MB / 0.6047 GB, free: 32.8 MB / 394.7 MB