Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.746/1.746, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.86e-05, allocations: 8 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.0805, allocations: 44.49 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3526/0.4332, allocations: 103.6 MB / 403.5 MB, free: 16.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4334, allocations: 85.58 kB / 403.6 MB, free: 16.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.305/0.7384, allocations: 80.21 MB / 483.8 MB, free: 3.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.7385, allocations: 0 / 483.8 MB, free: 3.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002527/0.7387, allocations: 71.94 kB / 483.9 MB, free: 3.84 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.01009/0.7488, allocations: 3.215 MB / 487.1 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7489, allocations: 8.031 kB / 487.1 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/0.7543, allocations: 0.7256 MB / 487.8 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.7652, allocations: 3.344 MB / 491.2 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002638/0.7655, allocations: 234.3 kB / 491.4 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000722/0.7662, allocations: 315.9 kB / 491.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009668/0.7759, allocations: 4.059 MB / 495.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.624e-05/0.776, allocations: 0 / 495.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004906/0.7765, allocations: 136 kB / 495.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001883/0.7767, allocations: 142.2 kB / 496.1 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008567/0.7853, allocations: 3.304 MB / 499.4 MB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02892/0.8142, allocations: 13.56 MB / 0.5009 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2332/1.047, allocations: 6.771 MB / 0.5075 GB, free: 66.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002919/1.05, allocations: 1.358 MB / 0.5088 GB, free: 66.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007623/1.058, allocations: 3.632 MB / 0.5124 GB, free: 65.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/1.058, allocations: 48.27 kB / 0.5124 GB, free: 65.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 4.733e-06/1.058, allocations: 0 / 0.5124 GB, free: 65.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=142): time 0.01197/1.07, allocations: 5.011 MB / 0.5173 GB, free: 64.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/1.07, allocations: 69.33 kB / 0.5174 GB, free: 64.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/1.074, allocations: 1.605 MB / 0.519 GB, free: 64.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001742/1.074, allocations: 50.8 kB / 0.519 GB, free: 64.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.075, allocations: 1.433 MB / 0.5204 GB, free: 63.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/1.075, allocations: 495.9 kB / 0.5209 GB, free: 63.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/1.075, allocations: 36.03 kB / 0.5209 GB, free: 63.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/1.076, allocations: 375 kB / 0.5213 GB, free: 63.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.077, allocations: 0.7153 MB / 0.522 GB, free: 63.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/1.079, allocations: 1.155 MB / 0.5231 GB, free: 62.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/1.081, allocations: 0.9344 MB / 0.524 GB, free: 62.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/1.081, allocations: 4.125 kB / 0.524 GB, free: 62.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005156/1.086, allocations: 2.519 MB / 0.5265 GB, free: 62.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/1.086, allocations: 11.25 kB / 0.5265 GB, free: 62.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/1.086, allocations: 15.41 kB / 0.5265 GB, free: 62.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/1.088, allocations: 0.4913 MB / 0.527 GB, free: 62.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/1.09, allocations: 390.9 kB / 0.5274 GB, free: 62.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009067/1.099, allocations: 6.362 MB / 0.5336 GB, free: 59.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.101, allocations: 77.91 kB / 0.5336 GB, free: 59.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/1.101, allocations: 78.22 kB / 0.5337 GB, free: 59.91 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.0003698/1.101, allocations: 202.2 kB / 0.5339 GB, free: 59.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/1.102, allocations: 190.3 kB / 0.5341 GB, free: 59.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/1.107, allocations: 2.413 MB / 0.5364 GB, free: 59.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.107, allocations: 18.34 kB / 0.5365 GB, free: 59.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.107, allocations: 3.75 kB / 0.5365 GB, free: 59.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/1.107, allocations: 15.06 kB / 0.5365 GB, free: 59.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/1.117, allocations: 5.392 MB / 0.5418 GB, free: 58.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.118, allocations: 3.688 kB / 0.5418 GB, free: 58.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/1.119, allocations: 217 kB / 0.542 GB, free: 58.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/1.121, allocations: 0.4947 MB / 0.5424 GB, free: 58.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.121, allocations: 38.84 kB / 0.5425 GB, free: 58.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/1.132, allocations: 10.4 MB / 0.5526 GB, free: 50.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.23e-06/1.132, allocations: 7.891 kB / 0.5526 GB, free: 50.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00608/1.138, allocations: 3.512 MB / 0.5561 GB, free: 49.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009718/1.139, allocations: 461.9 kB / 0.5565 GB, free: 48.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/1.14, allocations: 31.56 kB / 0.5565 GB, free: 48.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.141, allocations: 69.19 kB / 0.5566 GB, free: 48.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/1.141, allocations: 112.2 kB / 0.5567 GB, free: 48.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.141, allocations: 42.28 kB / 0.5568 GB, free: 48.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002172/1.143, allocations: 1.235 MB / 0.558 GB, free: 48.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.97e-07/1.143, allocations: 0 / 0.558 GB, free: 48.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002577/1.146, allocations: 0.6184 MB / 0.5586 GB, free: 48.13 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.000593/1.147, allocations: 406 kB / 0.559 GB, free: 48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00421/1.151, allocations: 2.229 MB / 0.5611 GB, free: 47.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.044e-06/1.151, allocations: 0 / 0.5611 GB, free: 47.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002615/1.154, allocations: 1.62 MB / 0.5627 GB, free: 46.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/1.156, allocations: 487.4 kB / 0.5632 GB, free: 45.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009618/1.166, allocations: 4.812 MB / 0.5679 GB, free: 43.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002348/1.168, allocations: 2.426 MB / 0.5702 GB, free: 42.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001868/1.17, allocations: 413.5 kB / 0.5706 GB, free: 42.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/1.17, allocations: 129.8 kB / 0.5708 GB, free: 42.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.689e-06/1.17, allocations: 0 / 0.5708 GB, free: 42.7 MB / 394.7 MB Notification: Performance of Templates: time 0.07032/1.241, allocations: 31.25 MB / 0.6013 GB, free: 35.91 MB / 394.7 MB