Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.319e-05, allocations: 9.391 kB / 292.2 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09192, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4548/0.5467, allocations: 109.8 MB / 452.4 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005365/0.5473, allocations: 93.56 kB / 452.4 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3069/0.8543, allocations: 80.51 MB / 0.5205 GB, free: 3.621 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.368e-06/0.8543, allocations: 0 / 0.5205 GB, free: 3.621 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002415/0.8546, allocations: 71.94 kB / 0.5205 GB, free: 3.551 MB / 442.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.01029/0.8649, allocations: 3.215 MB / 0.5237 GB, free: 276 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.865, allocations: 12.03 kB / 0.5237 GB, free: 264 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2521/1.117, allocations: 0.7243 MB / 0.5244 GB, free: 93.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/1.128, allocations: 3.342 MB / 0.5277 GB, free: 93.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/1.128, allocations: 235.2 kB / 0.5279 GB, free: 93.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009992/1.129, allocations: 320.6 kB / 0.5282 GB, free: 93.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/1.14, allocations: 4.053 MB / 0.5321 GB, free: 92.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/1.14, allocations: 8.625 kB / 0.5322 GB, free: 92.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004857/1.141, allocations: 133.3 kB / 0.5323 GB, free: 92.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/1.141, allocations: 140.9 kB / 0.5324 GB, free: 92.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008945/1.15, allocations: 3.304 MB / 0.5356 GB, free: 92.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02844/1.178, allocations: 13.55 MB / 0.5489 GB, free: 90.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007769/1.186, allocations: 6.771 MB / 0.5555 GB, free: 85.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/1.189, allocations: 1.366 MB / 0.5568 GB, free: 85.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00753/1.197, allocations: 3.62 MB / 0.5604 GB, free: 84.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/1.197, allocations: 55.17 kB / 0.5604 GB, free: 84.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 4.377e-06/1.197, allocations: 0 / 0.5604 GB, free: 84.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=142): time 0.01187/1.209, allocations: 5.011 MB / 0.5653 GB, free: 81.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/1.209, allocations: 73.92 kB / 0.5654 GB, free: 81.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/1.212, allocations: 1.607 MB / 0.5669 GB, free: 81.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/1.212, allocations: 48.7 kB / 0.567 GB, free: 81.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008802/1.213, allocations: 1.428 MB / 0.5684 GB, free: 79.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/1.213, allocations: 491.1 kB / 0.5688 GB, free: 79.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/1.213, allocations: 35.41 kB / 0.5689 GB, free: 79.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/1.213, allocations: 374.9 kB / 0.5692 GB, free: 79.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/1.215, allocations: 0.7125 MB / 0.5699 GB, free: 78.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/1.216, allocations: 1.155 MB / 0.5711 GB, free: 78.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/1.218, allocations: 0.9344 MB / 0.572 GB, free: 77.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.218, allocations: 6.406 kB / 0.572 GB, free: 77.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005519/1.224, allocations: 2.52 MB / 0.5744 GB, free: 76.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/1.224, allocations: 10.38 kB / 0.5745 GB, free: 76.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/1.224, allocations: 12.81 kB / 0.5745 GB, free: 76.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/1.225, allocations: 0.4921 MB / 0.5749 GB, free: 76.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/1.228, allocations: 386 kB / 0.5753 GB, free: 76.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009441/1.237, allocations: 6.362 MB / 0.5815 GB, free: 72.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/1.239, allocations: 82.84 kB / 0.5816 GB, free: 72.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/1.239, allocations: 77.56 kB / 0.5817 GB, free: 72.05 MB / 442.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.0003655/1.24, allocations: 197.1 kB / 0.5819 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/1.24, allocations: 193.9 kB / 0.5821 GB, free: 71.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005117/1.245, allocations: 2.42 MB / 0.5844 GB, free: 70.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.245, allocations: 13.72 kB / 0.5844 GB, free: 70.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.245, allocations: 7.5 kB / 0.5844 GB, free: 70.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/1.245, allocations: 6.703 kB / 0.5844 GB, free: 70.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/1.256, allocations: 5.379 MB / 0.5897 GB, free: 68.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.256, allocations: 8.719 kB / 0.5897 GB, free: 68.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/1.257, allocations: 216.4 kB / 0.5899 GB, free: 68.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/1.259, allocations: 495.9 kB / 0.5904 GB, free: 67.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/1.259, allocations: 39.03 kB / 0.5904 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/1.27, allocations: 10.41 MB / 0.6006 GB, free: 59.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.776e-06/1.271, allocations: 5.031 kB / 0.6006 GB, free: 59.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006734/1.277, allocations: 3.528 MB / 0.604 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.279, allocations: 455.1 kB / 0.6045 GB, free: 57.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/1.279, allocations: 31.55 kB / 0.6045 GB, free: 57.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.28, allocations: 73.94 kB / 0.6046 GB, free: 57.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/1.281, allocations: 111.2 kB / 0.6047 GB, free: 57.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.281, allocations: 42.05 kB / 0.6047 GB, free: 57.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002274/1.283, allocations: 1.236 MB / 0.6059 GB, free: 56.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-07/1.283, allocations: 0 / 0.6059 GB, free: 56.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002819/1.286, allocations: 0.6281 MB / 0.6065 GB, free: 56.47 MB / 442.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.stray.Phi.re,aimc.stator.stray.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.0006462/1.287, allocations: 420.5 kB / 0.6069 GB, free: 56.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004409/1.291, allocations: 2.222 MB / 0.6091 GB, free: 55.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.332e-06/1.291, allocations: 4.062 kB / 0.6091 GB, free: 55.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002902/1.294, allocations: 1.612 MB / 0.6107 GB, free: 54.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.297, allocations: 483.4 kB / 0.6111 GB, free: 54.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.307, allocations: 4.827 MB / 0.6159 GB, free: 52.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002524/1.31, allocations: 2.424 MB / 0.6182 GB, free: 51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001941/1.312, allocations: 418 kB / 0.6186 GB, free: 50.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/1.312, allocations: 123.3 kB / 0.6187 GB, free: 50.94 MB / 442.7 MB Notification: Performance of SimCode: time 1.727e-06/1.312, allocations: 0 / 0.6187 GB, free: 50.94 MB / 442.7 MB Notification: Performance of Templates: time 0.07508/1.387, allocations: 31.4 MB / 0.6494 GB, free: 32.25 MB / 442.7 MB