Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.254e-05, allocations: 4 kB / 293.2 MB, free: 7.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09053, allocations: 50.41 MB / 343.6 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4703/0.5609, allocations: 167.1 MB / 0.4987 GB, free: 8.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.5612, allocations: 104.6 kB / 0.4988 GB, free: 8.211 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.042/4.604, allocations: 0.8622 GB / 1.361 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.662e-06/4.604, allocations: 0 / 1.361 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001435/4.605, allocations: 474.5 kB / 1.361 GB, free: 33.63 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.08403/4.689, allocations: 19.5 MB / 1.381 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/4.689, allocations: 13.12 kB / 1.381 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07853/4.768, allocations: 9.683 MB / 1.39 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04452/4.812, allocations: 16.2 MB / 1.406 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001653/4.814, allocations: 1.519 MB / 1.407 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01076/4.825, allocations: 1.999 MB / 1.409 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.496/5.321, allocations: 33.82 MB / 1.442 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009485/5.322, allocations: 35.3 kB / 1.442 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007182/5.329, allocations: 0.8588 MB / 1.443 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002/5.331, allocations: 1.484 MB / 1.445 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07875/5.41, allocations: 29.28 MB / 1.473 GB, free: 30.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2262/5.636, allocations: 107.4 MB / 1.578 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06707/5.703, allocations: 50.64 MB / 1.628 GB, free: 9.047 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02085/5.724, allocations: 9.561 MB / 1.637 GB, free: 2.059 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4881/6.212, allocations: 22.69 MB / 1.659 GB, free: 99.87 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/6.212, allocations: 131 kB / 1.659 GB, free: 99.82 MB / 0.573 GB Notification: Performance of pre-optimization done (n=892): time 1.608e-05/6.212, allocations: 3.719 kB / 1.659 GB, free: 99.82 MB / 0.573 GB Notification: Performance of matching and sorting (n=904): time 0.07445/6.287, allocations: 32.66 MB / 1.691 GB, free: 94.34 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/6.287, allocations: 173 kB / 1.691 GB, free: 94.23 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01736/6.304, allocations: 7.341 MB / 1.698 GB, free: 93.63 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001597/6.306, allocations: 175.5 kB / 1.699 GB, free: 93.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006324/6.312, allocations: 8.66 MB / 1.707 GB, free: 89.16 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00383/6.316, allocations: 3.042 MB / 1.71 GB, free: 87.23 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/6.318, allocations: 229.2 kB / 1.71 GB, free: 87.23 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000859/6.319, allocations: 0.7728 MB / 1.711 GB, free: 86.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01342/6.332, allocations: 6.006 MB / 1.717 GB, free: 86.88 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0153/6.347, allocations: 9.534 MB / 1.726 GB, free: 82.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01608/6.364, allocations: 8.099 MB / 1.734 GB, free: 82.54 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/6.364, allocations: 31.94 kB / 1.734 GB, free: 82.54 MB / 0.573 GB Notification: Performance of matching and sorting (n=1468) (initialization): time 0.04725/6.411, allocations: 19.41 MB / 1.753 GB, free: 77.04 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/6.411, allocations: 53.59 kB / 1.753 GB, free: 77.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/6.411, allocations: 115.6 kB / 1.753 GB, free: 77.04 MB / 0.573 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/6.414, allocations: 0.8196 MB / 1.754 GB, free: 76.81 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01394/6.428, allocations: 2.374 MB / 1.756 GB, free: 76.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/6.444, allocations: 11.45 MB / 1.768 GB, free: 67.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01479/6.459, allocations: 0.6131 MB / 1.768 GB, free: 67.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002661/6.461, allocations: 0.5053 MB / 1.769 GB, free: 67.57 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003018/6.465, allocations: 0.7941 MB / 1.769 GB, free: 67.06 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002498/6.467, allocations: 0.9029 MB / 1.77 GB, free: 66.59 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03855/6.506, allocations: 16.68 MB / 1.787 GB, free: 58.39 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.463e-05/6.506, allocations: 92 kB / 1.787 GB, free: 58.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.471e-05/6.506, allocations: 42.95 kB / 1.787 GB, free: 58.26 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001756/6.506, allocations: 51.62 kB / 1.787 GB, free: 58.26 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08358/6.59, allocations: 35.53 MB / 1.821 GB, free: 29.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.216e-05/6.59, allocations: 4 kB / 1.821 GB, free: 29.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008886/6.599, allocations: 1.416 MB / 1.823 GB, free: 28.3 MB / 0.573 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/6.602, allocations: 0.8498 MB / 1.824 GB, free: 27.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001681/6.604, allocations: 207 kB / 1.824 GB, free: 27.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/6.621, allocations: 15.65 MB / 1.839 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/6.621, allocations: 16.06 kB / 1.839 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4833/7.105, allocations: 26.32 MB / 1.865 GB, free: 87.21 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007155/7.112, allocations: 2.246 MB / 1.867 GB, free: 87.11 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002831/7.115, allocations: 177.8 kB / 1.867 GB, free: 87.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007191/7.122, allocations: 0.5064 MB / 1.868 GB, free: 87.11 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002085/7.124, allocations: 0.7904 MB / 1.868 GB, free: 87.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001025/7.125, allocations: 259.1 kB / 1.869 GB, free: 87.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01162/7.137, allocations: 5.55 MB / 1.874 GB, free: 86.81 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.068e-06/7.137, allocations: 0 / 1.874 GB, free: 86.81 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01621/7.153, allocations: 3.504 MB / 1.878 GB, free: 86.81 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (701): * Single equations (assignments): 693 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002602/7.155, allocations: 0.893 MB / 1.878 GB, free: 86.68 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03123/7.187, allocations: 15.33 MB / 1.893 GB, free: 85.77 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.178e-05/7.187, allocations: 3.031 kB / 1.893 GB, free: 85.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02328/7.21, allocations: 8.422 MB / 1.902 GB, free: 84.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01418/7.224, allocations: 2.328 MB / 1.904 GB, free: 84.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08118/7.306, allocations: 32.57 MB / 1.936 GB, free: 78.85 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0274/7.333, allocations: 13.45 MB / 1.949 GB, free: 77.47 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01681/7.35, allocations: 3.958 MB / 1.953 GB, free: 77.13 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003901/7.354, allocations: 0.6567 MB / 1.953 GB, free: 77.12 MB / 0.573 GB Notification: Performance of SimCode: time 1.557e-06/7.354, allocations: 5.641 kB / 1.953 GB, free: 77.12 MB / 0.573 GB Notification: Performance of Templates: time 0.7808/8.135, allocations: 150.8 MB / 2.101 GB, free: 86.3 MB / 0.573 GB