Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.372e-05, allocations: 2.156 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08069/0.08074, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.451, allocations: 103.6 MB / 403.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.4513, allocations: 87.3 kB / 403.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2791/0.7304, allocations: 80.21 MB / 483.8 MB, free: 4.367 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.097e-06/0.7304, allocations: 0 / 483.8 MB, free: 4.367 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003194/0.7308, allocations: 75.94 kB / 483.9 MB, free: 4.293 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01222/0.743, allocations: 3.207 MB / 487.1 MB, free: 1.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.7431, allocations: 8.031 kB / 487.1 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005834/0.7489, allocations: 0.7256 MB / 487.8 MB, free: 288 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.7607, allocations: 3.348 MB / 491.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/0.7611, allocations: 234.2 kB / 491.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.7624, allocations: 311.9 kB / 491.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.7755, allocations: 4.055 MB / 495.8 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001442/0.7757, allocations: 7.984 kB / 495.8 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009979/0.7767, allocations: 139.9 kB / 495.9 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002026/0.777, allocations: 138.3 kB / 496 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.7872, allocations: 3.304 MB / 499.3 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03436/0.8216, allocations: 13.56 MB / 0.5009 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2416/1.063, allocations: 6.768 MB / 0.5075 GB, free: 66.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003173/1.066, allocations: 1.357 MB / 0.5088 GB, free: 66.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009137/1.076, allocations: 3.623 MB / 0.5124 GB, free: 66.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/1.076, allocations: 48.19 kB / 0.5124 GB, free: 65.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 5.821e-06/1.076, allocations: 3.531 kB / 0.5124 GB, free: 65.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=142): time 0.0135/1.089, allocations: 5.011 MB / 0.5173 GB, free: 65.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/1.089, allocations: 67.55 kB / 0.5174 GB, free: 65.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/1.093, allocations: 1.611 MB / 0.5189 GB, free: 64.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002671/1.093, allocations: 50.92 kB / 0.519 GB, free: 64.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009422/1.094, allocations: 1.358 MB / 0.5203 GB, free: 64.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/1.095, allocations: 0.4906 MB / 0.5208 GB, free: 64.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/1.095, allocations: 34.67 kB / 0.5208 GB, free: 64.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/1.095, allocations: 377.5 kB / 0.5212 GB, free: 63.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/1.097, allocations: 0.7124 MB / 0.5219 GB, free: 63.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/1.099, allocations: 1.162 MB / 0.523 GB, free: 63.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/1.101, allocations: 0.9318 MB / 0.5239 GB, free: 63.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.189e-05/1.101, allocations: 6.25 kB / 0.5239 GB, free: 63.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005431/1.106, allocations: 2.4 MB / 0.5263 GB, free: 63.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/1.106, allocations: 7.75 kB / 0.5263 GB, free: 63.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/1.106, allocations: 15.38 kB / 0.5263 GB, free: 63.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/1.108, allocations: 0.494 MB / 0.5268 GB, free: 63.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/1.11, allocations: 387.6 kB / 0.5271 GB, free: 63.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009794/1.12, allocations: 6.365 MB / 0.5334 GB, free: 60.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/1.122, allocations: 85.61 kB / 0.5334 GB, free: 60.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/1.122, allocations: 70.61 kB / 0.5335 GB, free: 60.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,67.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000404/1.123, allocations: 201 kB / 0.5337 GB, free: 60.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/1.123, allocations: 193.8 kB / 0.5339 GB, free: 60.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005171/1.128, allocations: 2.412 MB / 0.5362 GB, free: 59.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/1.128, allocations: 14.66 kB / 0.5363 GB, free: 59.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/1.128, allocations: 7.469 kB / 0.5363 GB, free: 59.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/1.129, allocations: 10.75 kB / 0.5363 GB, free: 59.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/1.14, allocations: 5.389 MB / 0.5415 GB, free: 59.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.14, allocations: 0 / 0.5415 GB, free: 59.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.142, allocations: 216.5 kB / 0.5417 GB, free: 59.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/1.143, allocations: 0.4951 MB / 0.5422 GB, free: 59.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/1.144, allocations: 36.55 kB / 0.5423 GB, free: 59.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.155, allocations: 10.41 MB / 0.5524 GB, free: 51.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.155, allocations: 10.83 kB / 0.5524 GB, free: 51.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006644/1.162, allocations: 3.512 MB / 0.5559 GB, free: 49.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.163, allocations: 462.7 kB / 0.5563 GB, free: 49.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000484/1.164, allocations: 30.31 kB / 0.5563 GB, free: 49.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.165, allocations: 73.02 kB / 0.5564 GB, free: 49.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004155/1.166, allocations: 106.7 kB / 0.5565 GB, free: 49.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.166, allocations: 47.42 kB / 0.5566 GB, free: 49.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002853/1.169, allocations: 1.234 MB / 0.5578 GB, free: 48.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.181e-06/1.169, allocations: 0 / 0.5578 GB, free: 48.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003639/1.173, allocations: 0.6221 MB / 0.5584 GB, free: 48.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,aimc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007775/1.173, allocations: 403.6 kB / 0.5587 GB, free: 48.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004735/1.178, allocations: 2.228 MB / 0.5609 GB, free: 47.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.178, allocations: 0 / 0.5609 GB, free: 47.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003112/1.181, allocations: 1.618 MB / 0.5625 GB, free: 46.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/1.184, allocations: 482 kB / 0.563 GB, free: 46.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.196, allocations: 4.796 MB / 0.5676 GB, free: 44.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002488/1.198, allocations: 2.376 MB / 0.57 GB, free: 43.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007921/1.199, allocations: 143.3 kB / 0.5701 GB, free: 43.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.983e-06/1.199, allocations: 0 / 0.5701 GB, free: 43.32 MB / 394.7 MB Notification: Performance of Templates: time 0.3554/1.554, allocations: 92.22 MB / 0.6602 GB, free: 86.64 MB / 410.7 MB