Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.874/1.874, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.536e-05, allocations: 4 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08241/0.08246, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.406/0.4885, allocations: 108.5 MB / 425.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4889, allocations: 90.02 kB / 425.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3202/0.8091, allocations: 80.27 MB / 0.494 GB, free: 1.949 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.646e-06/0.8091, allocations: 0 / 0.494 GB, free: 1.949 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002439/0.8094, allocations: 83.81 kB / 0.4941 GB, free: 1.867 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.009579/0.819, allocations: 3.207 MB / 0.4972 GB, free: 14.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.819, allocations: 8.031 kB / 0.4972 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004972/0.824, allocations: 0.7256 MB / 0.4979 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.8347, allocations: 3.356 MB / 0.5012 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.8351, allocations: 234.3 kB / 0.5014 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009195/0.836, allocations: 307.9 kB / 0.5017 GB, free: 9.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.8468, allocations: 4.059 MB / 0.5057 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.372e-05/0.8469, allocations: 7.984 kB / 0.5057 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004787/0.8474, allocations: 132 kB / 0.5058 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000191/0.8476, allocations: 142.3 kB / 0.5059 GB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008728/0.8563, allocations: 3.304 MB / 0.5092 GB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2763/1.133, allocations: 13.55 MB / 0.5224 GB, free: 88.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006687/1.139, allocations: 6.756 MB / 0.529 GB, free: 83.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002891/1.142, allocations: 1.361 MB / 0.5303 GB, free: 83.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007345/1.15, allocations: 3.621 MB / 0.5339 GB, free: 82.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/1.15, allocations: 50.95 kB / 0.5339 GB, free: 82.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 4.645e-06/1.15, allocations: 0.6562 kB / 0.5339 GB, free: 82.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=142): time 0.01084/1.161, allocations: 5.023 MB / 0.5388 GB, free: 81.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/1.161, allocations: 64.22 kB / 0.5389 GB, free: 81.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/1.163, allocations: 1.613 MB / 0.5404 GB, free: 81.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/1.164, allocations: 50.8 kB / 0.5405 GB, free: 81.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008714/1.164, allocations: 1.426 MB / 0.5419 GB, free: 80.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003725/1.165, allocations: 494 kB / 0.5424 GB, free: 80.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/1.165, allocations: 35.06 kB / 0.5424 GB, free: 80.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/1.165, allocations: 372 kB / 0.5427 GB, free: 80.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/1.166, allocations: 0.7143 MB / 0.5434 GB, free: 80.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/1.168, allocations: 1.158 MB / 0.5446 GB, free: 79.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/1.17, allocations: 0.9318 MB / 0.5455 GB, free: 79.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/1.17, allocations: 2.5 kB / 0.5455 GB, free: 79.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005104/1.175, allocations: 2.527 MB / 0.548 GB, free: 79.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.175, allocations: 14.05 kB / 0.548 GB, free: 79.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.175, allocations: 15.75 kB / 0.548 GB, free: 79.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/1.177, allocations: 0.496 MB / 0.5485 GB, free: 79.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/1.178, allocations: 382.8 kB / 0.5488 GB, free: 79.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008682/1.187, allocations: 6.371 MB / 0.5551 GB, free: 76.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.189, allocations: 83 kB / 0.5551 GB, free: 76.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/1.189, allocations: 72 kB / 0.5552 GB, free: 76.38 MB / 426.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.0003498/1.19, allocations: 195 kB / 0.5554 GB, free: 76.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/1.19, allocations: 200.2 kB / 0.5556 GB, free: 76.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004645/1.195, allocations: 2.417 MB / 0.5579 GB, free: 74.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/1.195, allocations: 13.84 kB / 0.558 GB, free: 74.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/1.195, allocations: 11.05 kB / 0.558 GB, free: 74.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/1.195, allocations: 9.625 kB / 0.558 GB, free: 74.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/1.205, allocations: 5.38 MB / 0.5632 GB, free: 72.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.955e-06/1.205, allocations: 3.562 kB / 0.5632 GB, free: 72.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/1.206, allocations: 220.4 kB / 0.5634 GB, free: 72.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/1.208, allocations: 496.1 kB / 0.5639 GB, free: 72.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.208, allocations: 32.03 kB / 0.5639 GB, free: 72.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/1.22, allocations: 10.42 MB / 0.5741 GB, free: 63.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.841e-06/1.22, allocations: 6.312 kB / 0.5741 GB, free: 63.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006593/1.226, allocations: 3.519 MB / 0.5776 GB, free: 61.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.227, allocations: 456.9 kB / 0.578 GB, free: 61.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003669/1.228, allocations: 27.09 kB / 0.578 GB, free: 61.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.229, allocations: 72.75 kB / 0.5781 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/1.229, allocations: 106.9 kB / 0.5782 GB, free: 61.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.23, allocations: 40.83 kB / 0.5782 GB, free: 61.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002295/1.232, allocations: 1.237 MB / 0.5794 GB, free: 60.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.09e-07/1.232, allocations: 0 / 0.5794 GB, free: 60.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002724/1.235, allocations: 0.63 MB / 0.5801 GB, free: 60.82 MB / 426.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.0006297/1.235, allocations: 415.1 kB / 0.5805 GB, free: 60.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00426/1.24, allocations: 2.235 MB / 0.5826 GB, free: 59.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.975e-06/1.24, allocations: 3.375 kB / 0.5826 GB, free: 59.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/1.242, allocations: 1.616 MB / 0.5842 GB, free: 58.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/1.245, allocations: 477.7 kB / 0.5847 GB, free: 58.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/1.256, allocations: 4.823 MB / 0.5894 GB, free: 56.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/1.258, allocations: 2.418 MB / 0.5917 GB, free: 55.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00203/1.26, allocations: 413.8 kB / 0.5921 GB, free: 55.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/1.261, allocations: 128.2 kB / 0.5923 GB, free: 55.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.642e-06/1.261, allocations: 0 / 0.5923 GB, free: 55.31 MB / 426.7 MB Notification: Performance of Templates: time 0.07227/1.333, allocations: 31.31 MB / 0.6228 GB, free: 43.7 MB / 426.7 MB