Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 2.089/2.089, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.83e-05, allocations: 6.25 kB / 269.4 MB, free: 6.371 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08344/0.08349, allocations: 47.56 MB / 317 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5157, allocations: 146.5 MB / 463.5 MB, free: 6.477 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.516, allocations: 103.9 kB / 463.6 MB, free: 6.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527/2.043, allocations: 350.5 MB / 0.795 GB, free: 52.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.592e-06/2.043, allocations: 0 / 0.795 GB, free: 52.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007591/2.044, allocations: 251.7 kB / 0.7953 GB, free: 52.74 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.04066/2.085, allocations: 10.28 MB / 0.8053 GB, free: 42.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/2.085, allocations: 12.03 kB / 0.8053 GB, free: 42.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03915/2.124, allocations: 5.385 MB / 0.8106 GB, free: 37.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02608/2.15, allocations: 9.372 MB / 0.8197 GB, free: 27.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/2.151, allocations: 0.7905 MB / 0.8205 GB, free: 26.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004532/2.156, allocations: 1.043 MB / 0.8215 GB, free: 25.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05145/2.207, allocations: 17.6 MB / 0.8387 GB, free: 7.922 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004284/2.208, allocations: 15.91 kB / 0.8387 GB, free: 7.906 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003626/2.211, allocations: 451.9 kB / 0.8392 GB, free: 7.465 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001171/2.213, allocations: 0.7327 MB / 0.8399 GB, free: 6.727 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3322/2.545, allocations: 16.28 MB / 0.8558 GB, free: 46.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1229/2.668, allocations: 58.32 MB / 0.9127 GB, free: 32.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02641/2.694, allocations: 23.25 MB / 0.9354 GB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01337/2.708, allocations: 6.935 MB / 0.9422 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04777/2.756, allocations: 21.88 MB / 0.9636 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.566e-05/2.756, allocations: 94.83 kB / 0.9637 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of pre-optimization done (n=662): time 1.132e-05/2.756, allocations: 0 / 0.9637 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of matching and sorting (n=687): time 0.06903/2.825, allocations: 25.26 MB / 0.9883 GB, free: 4.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/2.825, allocations: 141.1 kB / 0.9885 GB, free: 4.504 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009177/2.834, allocations: 3.57 MB / 0.9919 GB, free: 1.277 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001342/2.836, allocations: 125.7 kB / 0.9921 GB, free: 1.148 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004498/2.84, allocations: 4.226 MB / 0.9962 GB, free: 13.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004036/2.844, allocations: 2.281 MB / 0.9984 GB, free: 11.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/2.845, allocations: 136 kB / 0.9985 GB, free: 11.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008456/2.846, allocations: 0.5957 MB / 0.9991 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01127/2.857, allocations: 4.439 MB / 1.003 GB, free: 6.699 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01339/2.871, allocations: 5.963 MB / 1.009 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01362/2.885, allocations: 5.473 MB / 1.015 GB, free: 12.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.489e-05/2.885, allocations: 15.09 kB / 1.015 GB, free: 12.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=931) (initialization): time 0.03634/2.921, allocations: 13.49 MB / 1.028 GB, free: 240 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/2.921, allocations: 24 kB / 1.028 GB, free: 216 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/2.921, allocations: 44 kB / 1.028 GB, free: 172 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3173/3.239, allocations: 4.162 MB / 1.032 GB, free: 90.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007521/3.246, allocations: 1.305 MB / 1.033 GB, free: 90.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02513/3.271, allocations: 16.72 MB / 1.05 GB, free: 84.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006693/3.278, allocations: 356.7 kB / 1.05 GB, free: 84.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001807/3.28, allocations: 296.2 kB / 1.05 GB, free: 84.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (667): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.001965/3.282, allocations: 477.2 kB / 1.051 GB, free: 84.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/3.284, allocations: 0.5325 MB / 1.051 GB, free: 84.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02905/3.313, allocations: 13.14 MB / 1.064 GB, free: 83.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001994/3.313, allocations: 149.5 kB / 1.064 GB, free: 83.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.071e-05/3.313, allocations: 11.86 kB / 1.064 GB, free: 83.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001186/3.313, allocations: 36.53 kB / 1.064 GB, free: 83.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05797/3.371, allocations: 26.49 MB / 1.09 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.629e-05/3.371, allocations: 3.719 kB / 1.09 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005457/3.377, allocations: 0.8563 MB / 1.091 GB, free: 81.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01067/3.387, allocations: 3.923 MB / 1.095 GB, free: 80.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001315/3.389, allocations: 150.9 kB / 1.095 GB, free: 80.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02352/3.412, allocations: 20.66 MB / 1.115 GB, free: 65.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/3.412, allocations: 5.906 kB / 1.115 GB, free: 65.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03834/3.451, allocations: 19.79 MB / 1.134 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004958/3.456, allocations: 1.647 MB / 1.136 GB, free: 54.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/3.457, allocations: 108.7 kB / 1.136 GB, free: 54.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004308/3.462, allocations: 304.5 kB / 1.136 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001478/3.463, allocations: 0.5076 MB / 1.137 GB, free: 54.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007082/3.464, allocations: 188.4 kB / 1.137 GB, free: 54.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005283/3.469, allocations: 2.695 MB / 1.14 GB, free: 53.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.82e-07/3.469, allocations: 2.906 kB / 1.14 GB, free: 53.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01061/3.48, allocations: 1.976 MB / 1.142 GB, free: 53.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,imc.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 (445): * Single equations (assignments): 403 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002142/3.482, allocations: 0.6809 MB / 1.142 GB, free: 53.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02409/3.506, allocations: 11.41 MB / 1.153 GB, free: 44.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/3.506, allocations: 4 kB / 1.153 GB, free: 44.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01394/3.52, allocations: 6.467 MB / 1.16 GB, free: 39.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007553/3.528, allocations: 1.163 MB / 1.161 GB, free: 38.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04703/3.575, allocations: 19.61 MB / 1.18 GB, free: 20.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01406/3.589, allocations: 7.113 MB / 1.187 GB, free: 15.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007974/3.597, allocations: 1.654 MB / 1.189 GB, free: 14.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/3.599, allocations: 384.2 kB / 1.189 GB, free: 13.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.737e-06/3.599, allocations: 0 / 1.189 GB, free: 13.91 MB / 490.7 MB Notification: Performance of Templates: time 0.553/4.152, allocations: 115.4 MB / 1.302 GB, free: 73.2 MB / 490.7 MB