Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.873/1.873, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.8e-05, allocations: 2.344 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07849/0.07854, allocations: 44.5 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3713/0.4499, allocations: 104.6 MB / 404.5 MB, free: 16.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4502, allocations: 86.91 kB / 404.5 MB, free: 16.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2899/0.7402, allocations: 80.53 MB / 485.1 MB, free: 3.137 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.7402, allocations: 0 / 485.1 MB, free: 3.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003246/0.7405, allocations: 79.88 kB / 485.1 MB, free: 3.059 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.01237/0.7529, allocations: 3.203 MB / 488.3 MB, free: 15.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.753, allocations: 12.03 kB / 488.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005814/0.7588, allocations: 0.7334 MB / 489.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.7708, allocations: 3.304 MB / 492.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/0.7713, allocations: 234.5 kB / 492.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/0.7726, allocations: 335.8 kB / 493 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.7859, allocations: 4.13 MB / 497.1 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.7861, allocations: 4 kB / 497.1 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006557/0.7867, allocations: 136 kB / 497.2 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/0.7869, allocations: 146.4 kB / 497.4 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.7977, allocations: 3.341 MB / 0.489 GB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03643/0.8342, allocations: 13.9 MB / 0.5026 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2441/1.078, allocations: 6.601 MB / 0.509 GB, free: 65.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/1.082, allocations: 1.359 MB / 0.5103 GB, free: 65.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/1.092, allocations: 3.804 MB / 0.514 GB, free: 64.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/1.092, allocations: 49.8 kB / 0.5141 GB, free: 64.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 5.426e-06/1.092, allocations: 1.875 kB / 0.5141 GB, free: 64.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=147): time 0.01091/1.103, allocations: 4.336 MB / 0.5183 GB, free: 63.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/1.103, allocations: 66.78 kB / 0.5184 GB, free: 63.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/1.106, allocations: 1.515 MB / 0.5199 GB, free: 63.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002956/1.107, allocations: 52.8 kB / 0.5199 GB, free: 63.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.108, allocations: 1.359 MB / 0.5212 GB, free: 63.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005988/1.108, allocations: 0.5024 MB / 0.5217 GB, free: 62.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/1.108, allocations: 35 kB / 0.5218 GB, free: 62.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/1.109, allocations: 379 kB / 0.5221 GB, free: 62.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/1.11, allocations: 0.6728 MB / 0.5228 GB, free: 62.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/1.112, allocations: 1.138 MB / 0.5239 GB, free: 61.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/1.114, allocations: 0.8882 MB / 0.5248 GB, free: 61.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.114, allocations: 5.406 kB / 0.5248 GB, free: 61.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005247/1.12, allocations: 2.393 MB / 0.5271 GB, free: 61.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.483e-05/1.12, allocations: 13.78 kB / 0.5271 GB, free: 61.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/1.12, allocations: 15.69 kB / 0.5271 GB, free: 61.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/1.121, allocations: 383.8 kB / 0.5275 GB, free: 61.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/1.123, allocations: 381.1 kB / 0.5279 GB, free: 61.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008436/1.131, allocations: 7.843 MB / 0.5355 GB, free: 56.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/1.133, allocations: 85.64 kB / 0.5356 GB, free: 56.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/1.134, allocations: 70.19 kB / 0.5357 GB, free: 56.41 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.0004308/1.134, allocations: 209.5 kB / 0.5359 GB, free: 56.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005104/1.135, allocations: 197 kB / 0.5361 GB, free: 56.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005217/1.14, allocations: 2.344 MB / 0.5383 GB, free: 55.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/1.14, allocations: 15.38 kB / 0.5384 GB, free: 55.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/1.14, allocations: 7.781 kB / 0.5384 GB, free: 55.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/1.14, allocations: 9.406 kB / 0.5384 GB, free: 55.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/1.153, allocations: 5.183 MB / 0.5434 GB, free: 55.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.153, allocations: 0 / 0.5434 GB, free: 55.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.154, allocations: 197 kB / 0.5436 GB, free: 55.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/1.156, allocations: 0.5508 MB / 0.5442 GB, free: 55.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/1.157, allocations: 39.14 kB / 0.5442 GB, free: 55.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01995/1.177, allocations: 12.24 MB / 0.5562 GB, free: 46.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.717e-06/1.177, allocations: 2.531 kB / 0.5562 GB, free: 46.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.189, allocations: 3.393 MB / 0.5595 GB, free: 45.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/1.191, allocations: 440 kB / 0.5599 GB, free: 44.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.192, allocations: 37.09 kB / 0.5599 GB, free: 44.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/1.195, allocations: 70.03 kB / 0.56 GB, free: 44.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007049/1.196, allocations: 120.5 kB / 0.5601 GB, free: 44.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/1.196, allocations: 45.69 kB / 0.5602 GB, free: 44.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004472/1.201, allocations: 1.152 MB / 0.5613 GB, free: 44.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.001e-06/1.201, allocations: 0 / 0.5613 GB, free: 44.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006015/1.207, allocations: 0.627 MB / 0.5619 GB, free: 44.24 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.001184/1.208, allocations: 402.8 kB / 0.5623 GB, free: 44.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007864/1.216, allocations: 2.366 MB / 0.5646 GB, free: 42.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.934e-06/1.216, allocations: 2.844 kB / 0.5646 GB, free: 42.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005782/1.222, allocations: 1.76 MB / 0.5663 GB, free: 41.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005744/1.228, allocations: 0.5074 MB / 0.5668 GB, free: 41.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/1.249, allocations: 4.799 MB / 0.5715 GB, free: 39.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006596/1.256, allocations: 2.318 MB / 0.5738 GB, free: 38.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/1.257, allocations: 140 kB / 0.5739 GB, free: 38.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.879e-06/1.257, allocations: 4 kB / 0.5739 GB, free: 38.43 MB / 394.7 MB Notification: Performance of Templates: time 0.4334/1.69, allocations: 121.5 MB / 0.6926 GB, free: 84.93 MB / 410.7 MB