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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.665e-05, allocations: 4 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09092, allocations: 50.42 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3946/0.4856, allocations: 109.8 MB / 452.9 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.4859, allocations: 94.12 kB / 453 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2835/0.7694, allocations: 80.51 MB / 0.521 GB, free: 3.645 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.011e-06/0.7695, allocations: 0 / 0.521 GB, free: 3.645 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002608/0.7697, allocations: 75.94 kB / 0.521 GB, free: 3.57 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.01072/0.7805, allocations: 3.215 MB / 0.5242 GB, free: 296 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.7805, allocations: 8.031 kB / 0.5242 GB, free: 288 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2499/1.03, allocations: 0.7264 MB / 0.5249 GB, free: 94.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/1.042, allocations: 3.341 MB / 0.5282 GB, free: 93.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/1.042, allocations: 235.4 kB / 0.5284 GB, free: 93.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001185/1.043, allocations: 314.5 kB / 0.5287 GB, free: 93.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/1.055, allocations: 4.052 MB / 0.5327 GB, free: 93.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/1.055, allocations: 16.22 kB / 0.5327 GB, free: 93.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005433/1.055, allocations: 137.2 kB / 0.5328 GB, free: 93.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000184/1.055, allocations: 141.4 kB / 0.5329 GB, free: 93.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009114/1.065, allocations: 3.307 MB / 0.5362 GB, free: 93.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02743/1.092, allocations: 13.54 MB / 0.5494 GB, free: 91.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006223/1.098, allocations: 6.771 MB / 0.556 GB, free: 85.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002666/1.101, allocations: 1.367 MB / 0.5573 GB, free: 85.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007098/1.108, allocations: 3.614 MB / 0.5609 GB, free: 84.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.108, allocations: 58.86 kB / 0.5609 GB, free: 84.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 4.537e-06/1.108, allocations: 0 / 0.5609 GB, free: 84.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=142): time 0.01181/1.12, allocations: 4.999 MB / 0.5658 GB, free: 82.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/1.12, allocations: 74.17 kB / 0.5659 GB, free: 82.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/1.123, allocations: 1.611 MB / 0.5674 GB, free: 81.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/1.123, allocations: 54.8 kB / 0.5675 GB, free: 81.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000875/1.124, allocations: 1.422 MB / 0.5689 GB, free: 80.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/1.125, allocations: 497.2 kB / 0.5694 GB, free: 80.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.125, allocations: 35.38 kB / 0.5694 GB, free: 80.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/1.125, allocations: 374.3 kB / 0.5698 GB, free: 79.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.126, allocations: 0.7103 MB / 0.5704 GB, free: 79.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/1.128, allocations: 1.153 MB / 0.5716 GB, free: 78.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/1.13, allocations: 0.9317 MB / 0.5725 GB, free: 78.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/1.13, allocations: 3.656 kB / 0.5725 GB, free: 78.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005783/1.135, allocations: 2.531 MB / 0.575 GB, free: 77.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/1.135, allocations: 7.344 kB / 0.575 GB, free: 77.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/1.136, allocations: 21.36 kB / 0.575 GB, free: 77.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/1.137, allocations: 494.2 kB / 0.5755 GB, free: 77.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/1.139, allocations: 388.3 kB / 0.5758 GB, free: 77.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008967/1.148, allocations: 6.363 MB / 0.582 GB, free: 72.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/1.15, allocations: 82.98 kB / 0.5821 GB, free: 72.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/1.15, allocations: 74.64 kB / 0.5822 GB, free: 72.68 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.0003624/1.151, allocations: 202.5 kB / 0.5824 GB, free: 72.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/1.151, allocations: 191.2 kB / 0.5826 GB, free: 72.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004886/1.156, allocations: 2.415 MB / 0.5849 GB, free: 71.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/1.156, allocations: 11.47 kB / 0.5849 GB, free: 71.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.156, allocations: 7.188 kB / 0.5849 GB, free: 71.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.156, allocations: 10.73 kB / 0.585 GB, free: 71.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/1.167, allocations: 5.383 MB / 0.5902 GB, free: 68.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.167, allocations: 0 / 0.5902 GB, free: 68.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.169, allocations: 230.1 kB / 0.5904 GB, free: 68.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002276/1.171, allocations: 489.9 kB / 0.5909 GB, free: 68.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000203/1.171, allocations: 34.97 kB / 0.5909 GB, free: 68.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/1.184, allocations: 10.42 MB / 0.6011 GB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.606e-06/1.184, allocations: 3.031 kB / 0.6011 GB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006243/1.19, allocations: 3.528 MB / 0.6045 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.191, allocations: 449.1 kB / 0.605 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/1.192, allocations: 30.97 kB / 0.605 GB, free: 57.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1.193, allocations: 78.06 kB / 0.6051 GB, free: 57.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/1.193, allocations: 105.5 kB / 0.6052 GB, free: 57.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.193, allocations: 42.08 kB / 0.6052 GB, free: 57.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00218/1.196, allocations: 1.232 MB / 0.6064 GB, free: 57.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.983e-06/1.196, allocations: 4 kB / 0.6064 GB, free: 57.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002796/1.198, allocations: 0.6326 MB / 0.607 GB, free: 57.09 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.000629/1.199, allocations: 414.6 kB / 0.6074 GB, free: 56.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004275/1.203, allocations: 2.221 MB / 0.6096 GB, free: 55.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.129e-06/1.203, allocations: 0 / 0.6096 GB, free: 55.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002666/1.206, allocations: 1.613 MB / 0.6112 GB, free: 54.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/1.209, allocations: 494.2 kB / 0.6117 GB, free: 54.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.219, allocations: 4.827 MB / 0.6164 GB, free: 52.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/1.222, allocations: 2.422 MB / 0.6187 GB, free: 51.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002015/1.224, allocations: 418.3 kB / 0.6191 GB, free: 51.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/1.224, allocations: 126.9 kB / 0.6193 GB, free: 51.55 MB / 442.7 MB Notification: Performance of SimCode: time 1.755e-06/1.224, allocations: 2.625 kB / 0.6193 GB, free: 51.55 MB / 442.7 MB Notification: Performance of Templates: time 0.0763/1.3, allocations: 31.4 MB / 0.6499 GB, free: 32.89 MB / 442.7 MB